bw-hspc-contest-env/web
2023-11-12 18:14:13 -05:00
..
docker [web] Update docker stuff 2023-10-15 14:17:45 -04:00
prisma [web] Refactor team page and add lang choice 2023-11-12 15:52:12 -05:00
src [web] Create CSharp repos 2023-11-12 18:14:13 -05:00
static [web] Working scoreboard 2023-05-08 21:21:53 -04:00
templates [web] Create CSharp repos 2023-11-12 18:14:13 -05:00
.dockerignore [web] Update docker stuff 2023-10-15 14:17:45 -04:00
.env.example [web] Update docker stuff 2023-10-15 14:17:45 -04:00
.eslintignore Add initial web framework 2023-04-26 12:20:01 -04:00
.eslintrc.cjs Update web deps 2023-08-23 22:06:53 -04:00
.gitignore [web] Add docker compose to gitignore 2023-10-15 21:02:47 -04:00
.npmrc Add initial web framework 2023-04-26 12:20:01 -04:00
.prettierignore Add initial web framework 2023-04-26 12:20:01 -04:00
.prettierrc Update web deps 2023-08-23 22:06:53 -04:00
Dockerfile [web] Use lts node 2023-10-18 14:21:09 -04:00
package-lock.json [web] Use isomorphic git and template 2023-11-12 17:40:36 -05:00
package.json [web] Use isomorphic git and template 2023-11-12 17:40:36 -05:00
README.md [web] Refactor team page and add lang choice 2023-11-12 15:52:12 -05:00
svelte.config.js [web] Improve modals 2023-08-26 12:30:22 -04:00
tsconfig.json Add initial web framework 2023-04-26 12:20:01 -04:00
vite.config.ts Add initial web framework 2023-04-26 12:20:01 -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

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