It will install and configure all dependencies(nginx, node, etc.). For example, built angular, react, vue, etc. project.
├── run-static.sh
│
├── static-nginx.conf
|
└── dist
|
└── <PROJECT_NAME>
|
└── PROJECT FILES...
Install all required dependencies (nginx, node, npm, @angular/cli, etc.), build project, and then deploy.
Example:
"scripts": {
...
"build": "ng build --prod --base-href /example",
...
}
├── <PROJECT_FOLDER>
│ │
│ ├── run-angular.sh
│ │
│ ├── angular-nginx.conf
│ │
│ └── PROJECT FILES...
│
It will install and configure all! Use Let's encrypt and Certbot in background. redirecting from HTTP to HTTPS will configure if you want.