Install virtualenv
sudo apt-get install python-virtualenv
OR
Download it from https://pypi.python.org/pypi/virtualenv
Set up virtual env
virtualenv .
Install fabric
./bin/pip install fabric
Have a look at what tasks are available:
./bin/fab -l
Create a VM or have a server with Ubuntu 13.04 (which we will call raring).
(Optional) Set up your ssh key and hostname in your ssh config.
Set up openstax/accounts on raring: (The "Common Name" should be the site name, "raring" in this case, when creating the ssl cert)
./bin/fab -H raring accounts_setup
Read the output and do some manual setup.
Start accounts (in 2 terminals):
./bin/fab -H raring accounts_run
./bin/fab -H raring accounts_run_ssl
Set up openstax/connect-rails example on raring:
./bin/fab -H raring example_setup
Read the output and do more manual setup.
Start example:
./bin/fab -H raring example_run
Go to http://raring:4000 and try to login.