mirror of
https://github.com/versia-pub/frontend.git
synced 2026-06-14 07:29:15 +02:00
ci(build): 💚 Use static web server in Docker container
This commit is contained in:
parent
d9283e4c7e
commit
80ad22c395
4 changed files with 51 additions and 6 deletions
19
README.md
19
README.md
|
|
@ -83,6 +83,25 @@ Then, the frontend will be available at `http://localhost:3000` inside the conta
|
|||
>
|
||||
> You can set the `NUXT_PUBLIC_API_HOST` environment variable to point to a different Versia Server instance.
|
||||
|
||||
#### Manual
|
||||
|
||||
1. Clone the repository.
|
||||
```bash
|
||||
git clone https://github.com/versia-pub/frontend.git
|
||||
```
|
||||
2. Install dependencies.
|
||||
```bash
|
||||
bun install
|
||||
```
|
||||
3. Build the project.
|
||||
```bash
|
||||
bun run build
|
||||
```
|
||||
4. Serve the static files in the `.output/public` directory.
|
||||
> [!WARNING]
|
||||
>
|
||||
> `.output/public/200.html` should be configured as a fallback for all 404 errors.
|
||||
|
||||
## Development
|
||||
|
||||
Run `bun run emojis:generate` to generate the emoji list before building or running the project.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue