Deploy on to AWS EC2 running nginx
- ssh into the EC2 instance
- if npm is NOT installed, execute sudo apt install npm -y
- cd into <dev> dir
- git clone the repo
- cd into the repo
- execute npm install
- execute npm run build
- cp -R dist/* /var/www/<host>/html
- might have to re-launch nginx
– manzoor