bw-hspc-contest-env/web/README.md

34 lines
408 B
Markdown
Raw Normal View History

2023-05-03 18:33:59 -04:00
# BW Contest Web
## Build Instructions
### For all builds
You must fill out a `.env` file. An example is provided in `.env.example`. This is used for dev, production, and docker.
Build dependencies:
- NodeJS
- Docker (for docker build)
### For Development
2023-09-14 11:16:11 -04:00
```bash
npm i
npm run dev
2023-05-03 18:33:59 -04:00
```
### For Production
2023-09-14 11:16:11 -04:00
```bash
npm i
npm run build
node build
2023-05-03 18:33:59 -04:00
```
### Docker
2023-09-14 11:16:11 -04:00
```bash
docker compose up --build
2023-05-03 18:33:59 -04:00
```