Common Workflows

Environment creation and deploy application by URL


  1. User creates Ruby environment and chooses desired Ruby version.

  2. Jelastic executes rvm use ${ruby_version} in each ruby container that belongs to this environment.

  3. User selects an application package (zip, tar.gz) and clicks to deploy it into the existing environment.

  4. Jelastic offers user the choice of deployment type (production/development/testing).

  5. Jelastic uploads installation package into the container and unpacks it into the webserver directory.

  6. Jelastic runs:
    1. bundle install --without development testing in the app directory in the case the user selected production mode.
    2. bundle install --without development production in the app directory in the case the user selected testing mode.
    3. bundle install --without production testing in the app directory in the case the user selected development mode.

  7. Jelastic restarts apache/nginx service.

  8. Jelastic executes commands from the rake_deploy file to perform post configuration (if this file exists).

  9. Jelastic deletes rake_deploy file.

Environment creation and deploy application via Git/SVN


  1. User creates Ruby environment and chooses desired Ruby version.

  2. Jelastic executes rvm use ${ruby_version} in each ruby container that belongs to this environment.

  3. User clicks the Add project button for the environment.

  4. Jelastic displays the standard GIT/SVN deployment wizard and offers the user the choice of the deployment type (production/development/testing).

  5. In case the deployment trigger is fired (right from adding project or by scheduler) Jelastic checks out project files into web server directory

  6. Jelastic runs:
    1. bundle install --without development testing in the app directory in the case the user selected production mode.
    2. bundle install --without development production in the app directory in the case the user selected testing mode.
    3. bundle install --without production testing in the app directory in the case the user selected development mode.

  7. Jelastic restarts apache/nginx service.

  8. Jelastic executes commands from the rake_delpoy file to perform post configuration (if this file exists).

  9. Jelastic deletes rake_deploy file.

Changing Ruby version


  1. User changes Ruby version for the existing environment via Environment topology.

  2. Jelastic executes rvm use ${ruby_version} in each ruby container that belongs to this environment.

  3. Jelastic runs:
    1. bundle install --without development testing in the app directory in the case the user selected production mode.
    2. bundle install --without development production in the app directory in the case the user selected testing mode.
    3. bundle install --without production testing in the app directory in the case the user selected development mode.

Changing application deployment type


  1. User changes the application deployment type for existing environment via GIT/SVN deployment wizard.

  2. Jelastic runs:
    1. bundle install --without development testing in the app directory in the case the user selected production mode.
    2. bundle install --without development production in the app directory in the case the user selected testing mode.
    3. bundle install --without production testing in the app directory in the case the user selected development mode.