🔧 update README (README.md)
This commit is contained in:
parent
fde2f7a95b
commit
6e8da4501e
1 changed files with 20 additions and 0 deletions
20
README.md
20
README.md
|
@ -12,6 +12,8 @@ A "410 Gone" frontend page for a Federated SNS. [View Demo Page](https://fedi-go
|
||||||
|
|
||||||
## Usage 💨
|
## Usage 💨
|
||||||
|
|
||||||
|
You need to write `src/consts.ts` according to your instance information.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://git.v-sli.me/HidemaruOwO/FediGONE.git
|
git clone https://git.v-sli.me/HidemaruOwO/FediGONE.git
|
||||||
cd FediGONE
|
cd FediGONE
|
||||||
|
@ -27,6 +29,24 @@ cd dist
|
||||||
vercel deploy --prod
|
vercel deploy --prod
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<sumamry>View `src/consts.ts`</summary>
|
||||||
|
|
||||||
|
```ts
|
||||||
|
export const DOMAIN = "ap.example.tld";
|
||||||
|
export const TITLE = "インスタンスの墓標";
|
||||||
|
export const DESCRIPTION = `このインスタンスは閉鎖しました。"${DOMAIN}"を支えていただきありがとうございました。`;
|
||||||
|
export const MAIN_MESSAGE_LINE: string[] = [
|
||||||
|
`このインスタンスは滅んでしまったようです。`,
|
||||||
|
`ここにあるのは、`,
|
||||||
|
`インスタンスの墓標です。`,
|
||||||
|
];
|
||||||
|
export const NEXT_INSTANCE_URL = "https://new.example.tld";
|
||||||
|
export const NEXT_INSTANCE_MESSAGE = "新しいインスタンスに進む";
|
||||||
|
```
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
## Dependencies 🪡
|
## Dependencies 🪡
|
||||||
|
|
||||||
requirements `bun` or `nodejs` for build astro project.
|
requirements `bun` or `nodejs` for build astro project.
|
||||||
|
|
Loading…
Add table
Reference in a new issue