The frontend of MissZ.
npm install
npm run serve
# nginx.conf
server {
# Frontend runs at port 80
listen 80;
server_name localhost;
root /root/to/dist;
server_name_in_redirect off;
client_max_body_size 100M;
location / {
}
location /backend/ {
# Backend runs at port 8000
proxy_pass http://127.0.0.1:8000/;
}
}
npm run build
sudo nginx
sudo nginx -s reload
sudo nginx -s stop
npm run lint