- Install dependencies
yarn install
- Change the IP address in config
- Set the port number to the port number (usually 8080) that is assigned by yarn/npm during the serve here
- Set the username / password here
- Run
yarn serve
- Install dependencies
apt install npm apt install nginx npm install npm build cp -r dist /app cp nginx.conf /etc/nginx/nginx.conf systemctl restart nginx