It's a simple script to deploy node application into remote server via ftp.
- Copy
deploy
folder. - Paste to the root directory of your project.
- Change server credentials into giver parameters,
- server (Server host address)
- user (Username)
- password (Password)
- server_path (Remote path in which project will be deployed)
- Run
./deploy/develop.sh
into command line to deploy into development environment. - NB: Copy
develop.sh
and create new script for different environment like staging, production etc. by changing build command tonpm run build -- --mode xxxxxxxx
. Here, xxxxxxxx is the name of environment.
Initially development - Sadman Rafid
The easy deploy script is open-source script licensed under the MIT license.