Production Server Notes
Publishing
After evolution 1:
- svn up
- open mysql and drop all db_* tables (also dropped oembed_* and auth_*)
- drop table db_user, db_node, db_edge;
- ./manage.py synbdb
- ./manage.py loaddata db/fixtures/after_evoluation/ready_to_upload.json
- ./manage.py loaddata db/fixtures/after_evoluation/08_11_04_production_NEW_USERS.json
- go to http://bilumi.org/Main/admin
- Correct user and rating weights
- Check data integrity
- Was fine (number of actions == number of actionable items), so didn't remove actions and load ready_to_upload_ONLY_ACTIONS
Then
- /etc/init.d/apache2 restart This made code changes go through but static files, eg css and js, were still cached !!
- /etc/init.d/apache2 reload Did the trick.