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:

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.

 
0
Kudos
 
0
Kudos

Now read this

3 Aug ‘14

The necessary JS and CSS files were not being loaded. I ran a “ python manage.py findstatic ”. It told me some apps were not installed. django_extensions debug-toolbar South django_tables2 pyscopg2 After installing these, findstatic was... Continue →