bw-hspc-contest-env/web/README.md
2023-11-02 18:09:11 -04:00

600 B

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

npm i
npm run dev

For Production

npm i
npm run build
node build

Docker

Copy the example docker compose file

# pwd web/
cp docker/docker-compose.example.yml ./docker-compose.yml

Fill out .env file

cp .env.example .env

Run the container

docker compose up --build