[edited by admin -- there are some updated instructions here]
This is just a note for anyone who wants to set up Django/Mezzanine on Pythonanywhere.
Here are the steps I used:
-
Create a mezzanine project
mezzanine-project some_project_name
-
Change directory to the project
cd some_project_name
-
Create a database
python manage.py createdb
-
Move all the static stuff (CSS, Javascript, etc.) to the static folder
python manage.py collectstatic
-
Change directory to /var/www
cd /var/www
-
Create a static directory (you should have /var/www/static
mkdir static && cd static
-
Copy all of your projects static stuff over to /var/www/static
cp -r ~/some_project_name/static /var/www/static
(or you can just use ".")
That's all she wrote folks!
To the Pythonanywhere folks, please correct any errors you may find here. Or, if you object to this procedure, then let me know.
Au Revoir Dave Capuano