1 Aug ‘14
Sheila setup a rackspace VM for me to deploy the Django app. It’s the first time I’m using (and learning) Fabric.
Issues faced:
- VM freezed everytime I entered the password. Resolved by setting env.password string in fabric task.
- Jinja not found. I installed jinja explicitly.
- Unknown command: collectstatic. I logged into the vm and installed django, I still get the same error.
Fatal error: sudo() received nonzero return code 1 while executing!
Requested: source /home/bugtracker/venvs/2014-08-01.3/bin/activate && python manage.py collectstatic --noinput --clear --settings=bugtracker.settings.production
Executed: sudo -S -p 'sudo password:' -u "bugtracker" /bin/bash -l -c "cd /home/bugtracker/site/bugtracker/bugtracker && source /home/bugtracker/venvs/2014-08-01.3/bin/activate && python manage.py collectstatic --noinput --clear --settings=bugtracker.settings.production"
Aborting.
Disconnecting from 23.253.42.97... done.
Work in progress.