git clone https://github.com/0verseas/0verQuota.git
cd 0verQuota
npm install
cp public/js/env.js.example public/js/env.js
edit the config file in public/js/env.js
$ npm run serve
$ npm run build
if dev then
git clone https://github.com/0verseas/0verQuota.git ./0verQuota-dev/
cd ./0verQuota-dev/
git checkout dev
if official then
git clone https://github.com/0verseas/0verQuota.git
cd ./0verQuota/
npm install
cp ./public/js/env.js.example ./public/js/env.js
cp ./docker/.env.example ./docker/.env
cp ./docker/nginx.conf.example ./docker/nginx.conf
cp ./docker/realip.conf.example ./docker/realip.conf
modify baseUrl
vim ./public/js/env.js
modfiy NETWORKS, DOMAIN_NAME, ENTRYPOINTS If dev then modfiy COMPOSE_PROJECT_NAME and CONTAINER_NAME
vim ./docker/.env
modify set_real_ip_from 'IPs range' based on our docker environment and uncomment rows of 32-34
vim ./docker/realip.conf
modify allow 'IPs range' based on our environment and uncomment allow 'IPs range' and deny all if need URL Directory turn to show the error page then add uncomment row 11 'return 403'
vim ./docker/nginx.conf
modify uncomment row 30
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