-
Notifications
You must be signed in to change notification settings - Fork 0
Staging Deployment Guide
Staging branch code is deployed to Webfaction and served by ullrichsoftware.com.
Requires SSH access to the Webfaction server. See instructions at the bottom of this page.
From the flyingcracker-project directory invoke these commands:
$ cd ansible
$ ansible-playbook -i hosts staging.yml
This command invokes ansible-playbook using our "hosts" and "staging.yml" files.
Use the -vvv
option for verbose output.
$ cd ansible
$ ansible-playbook -i hosts production.yml
If you don't have an SSH public/private key pair you can create a new one:
$ ssh-keygen -t rsa -C "your_email@example.com"
-
Copy your public key found at ~/.ssh/id_rsa.pub.
-
Transfer your public key to the Webfaction server:
$ ssh <username>@<host name>.webfactional.com
$ vim ~/.ssh/authorized_keys
-
Paste your public key into that file.
$ chmod 600 ~/.ssh/authorized_keys
Now try logging off with $ exit
and then $ ssh your_remote_host
and it should auto login.