-
Notifications
You must be signed in to change notification settings - Fork 135
Deploy to VPS
Rei edited this page Jul 14, 2014
·
11 revisions
Run this on server:
yourserver:~ $ git clone git@github.com:chloerei/campo.git
yourserver:~ $ cd campo
yourserver:~/campo $ ./script/setup_server.sh
This will install all dependency and prepare deploy directory for deploy.
Edit config/deploy/production.rb, change your server setting, for example:
server 'example.com', roles: %w( web app db ), user: 'deploy'
Run this on local:
~/campo $ cap production deploy
After deploy finishied, open http://example.com, campo should running.
Go Security page.