-
Notifications
You must be signed in to change notification settings - Fork 0
Deployment guide
The deployment system is implemented with Vlad. The script is in config/deploy.rb
. This file contains server settings, deployment path and the git repository URL at the start. The script currently uses Ruby through rvm, which must be set up on the server for all users (in /usr/local/lib).
When everything is set up, the deployment is done with the following command: rake vlad:deploy
You need a private ssh key to access the Amazon EC2 server (e.g. in ~/.ssh/aapps).
Ssh access to Github must be properly configured and the user must have reading rights to the repository. This includes setting your public ssh key as an allowed key in Github's admin panel. This key is separate from the key used with EC2 server. See Github's help pages for further instructions.
Ssh in the local computer needs to be set up to use the correct ssh key to when connecting to EC2 server. This can be done by adding the following lines to ~/.ssh/config
:
Host 79.125.124.244
IdentityFile ~/.ssh/aapps
User aaltoapps
ForwardAgent yes