Delegia AWS

For example https://web.delegia.net/projects/happenn-demo

  1. Push your code changes to master branch on GIT

  2. Upload a .zip file of changed files via SFTP. You can use same ssh key, username, ip as the ssh command for step 3. For example in FileZilla program https://stackoverflow.com/a/49053891

    1. Upload to folder: /home/<username>/

    2. .zip file should start folder structure with "resources" folder. See example file further down.

  3. SSH to server and run commands:

You can get ssh key, username, ip from your team leader.

Example of file to upload.
$ ssh -i ~/.ssh/delegia.pem [email protected]

$ cd /home/<username>/
$ sudo unzip <file>.zip -d /var/www/html

$ cd /var/www/html
$ npm run deploy

Last updated