Happenn
  • Introduction
  • System Architect
  • For Dev
    • AWS
      • Domain & CNAME
      • Rescale Instance
      • Request AWS Certificate
      • Generate Certificate with Certbot
      • S3
      • SSH & FTP
      • Auto Scaling
      • RDS MySQL
    • Digital Ocean
      • Virtual Host & Certificate
      • SSH & FTP
    • Server
      • Git
      • Setup the Server
    • Code
      • Laravel/Lumen
      • Vue.js
      • Webpack
      • JavaScript Library
        • Lodash
        • axios
        • Moment.js
      • Code Style Guide
      • Useful Tools
    • HAM Admin
      • Install locally
      • Deploy
    • Happenn API
      • Install locally
      • Install DB locally
      • Make DB changes
    • Happenn IO
      • Install locally
    • Happenn Virtual
      • Install locally
      • Folders and file structure
      • Deploy code
        • Happenn AWS
        • Delegia AWS
    • Happenn Event app
      • Deploy
      • Install locally
Powered by GitBook
On this page
  1. For Dev
  2. Happenn Virtual
  3. Deploy code

Delegia AWS

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

PreviousHappenn AWSNextHappenn Event app

Last updated 3 years ago

  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

    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.

$ ssh -i ~/.ssh/delegia.pem XXX@255.255.NNN.NNN

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

$ cd /var/www/html
$ npm run deploy
https://stackoverflow.com/a/49053891
17KB
resources.zip
archive
Example of file to upload.