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 14.04.1 (which we will call trusty).
(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, "trusty" in this case, when creating the ssl cert):
./bin/fab -H trusty accounts_setup
Read the output and do some manual setup.
Start openstax/accounts:
./bin/fab -H trusty accounts_run_unicorn
Create an admin user:
./bin/fab -H trusty accounts_create_admin_user
Go to https://trusty:3000 and try to login as admin.
If you want to also install the python pyramid app that uses openstax/accounts:
./bin/fab -H trusty accounts_pyramid_test
This installs Connexions/openstax-accounts and runs the stub test and the local accounts user test.