.. | ||
docker | ||
prisma | ||
src | ||
static | ||
templates | ||
.dockerignore | ||
.env.example | ||
.eslintignore | ||
.eslintrc.cjs | ||
.gitignore | ||
.npmrc | ||
.prettierignore | ||
.prettierrc | ||
Dockerfile | ||
package-lock.json | ||
package.json | ||
README.md | ||
svelte.config.js | ||
tsconfig.json | ||
vite.config.ts |
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