For schools to pick students they want.
git clone https://github.com/0verseas/0verPick.git
cd 0verPick
npm install
cp config.js.example src/js/config.js
edit the config file in src/js/config.js
npm run webpack
npm run serve
npm run build
the built static files will be in the dist
if dev then
git clone https://github.com/0verseas/0verPick.git ./0verPick-dev/
cd ./0verPick-dev/
git checkout dev
if official then
git clone https://github.com/0verseas/0verPick.git
cd ./0verPick/
npm install
cp ./config.js.example ./src/js/config.js
cp ./docker/.env.example ./docker/.env
modify apiBase, isProduction, reCAPTCHA_site_key
vim ./src/js/config.js
modfiy NETWORKS, DOMAIN_NAME, ENTRYPOINTS If dev then modfiy COMPOSE_PROJECT_NAME and CONTAINER_NAME
vim ./docker/.env
modify uncomment row 28
vim ./docker/docker-compose.yaml
sudo npm run docker-build
at ./docker/ path
sudo docker-compose up -d
at ./docker/ path
sudo docker-compose down
The command will not effect on the running container if you have not edited any of the settings on docker-compose.yaml at ./docker/ path
sudo docker-compose up --detach