Readme - Ubuntu Server

This installation script is tested on Ubuntu Server 16.04.5 LTS. The script will install the Deployify server in the current dir.

Update your Ubuntu server before you attempt to install Deployify.

Installation:

  1. curl -L https://deployify.io/download_file/96/0 -o install.sh
  2. sudo sh install.sh {username} {domain}


Examples for #2:
sudo sh install.sh prince deployify.io
 

After installation:


Enable SSL:

Make sure that your server is available from internet.

  1. Edit redbird.js

  2. Change "production: false"  to "production: true" on both occurrences.

  3. Make sure that the email-address that are provided exists, or change it to another valid, also on both occurrences.
    The email address does not have to be related to your Deployify domain.
  4. reboot

Be aware that your server could take a while to startup and get ready. Give it a few minutes after reboot is done.
 

Setup mail:
    

  1. Edit mail settings: {installdir}/api/mailer/settings_template.js

  2. Change to your preferences.

  3. Save as: settings.js

    
Enable Password Reset:
    

  1. Edit settings: {installdir}/api/settings.js

  2. Change "emailEnabled: false" to "emailEnabled: true"

  3. Change "resetPasswordEnabled: false" to "resetPasswordEnabled: true"

    

General:

To see what's up, check site logs with this command (no sudo):
pm2 logs



Update:

This script will update Deployify server to the latest version.

  1. cd into your the root of your Deployify installation directory.
  2. curl -L https://deployify.io/download_file/94/0 -o update.sh
  3. sudo sh update.sh {username}
    Example: sudo sh update.sh prince

 

Common errors:

Creating MSI package fails:

  • Could be a Wine error of some kind - try to update Wine to v. 1.8.