Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Deployment on VM

Vera Clemens edited this page Apr 16, 2019 · 2 revisions

Deployment

We use Capistrano to deploy the HPI Career Portal in production mode under https://www.hpi.uni-potsdam.de/connect/jobportal/. An nginx-unicorn webserver combination is used to serve the website. Since the inital setup of the deployment procedure is already done, to be able to deploy as a new user, only a few steps are necessary:

1. Get a user on the VM

To get a user ask the Admins or possibly one of the people already having a user with admin rights on the VM.

2. Obtain the necessary access rights

The user should have neccessary (sudo) rights to be able to start/restart the nginx server and to su to the deploy user.

3. Deploy

To deploy now just execute cap production deploy in the rails directory.

All tasks executed during deployment are provided by gems directly or in the lib/capistrano/tasks directory. For more information check out the github page of the capistrano gem.

Clone this wiki locally