Deployment Scripts

for Linux/Unix with project in SVN and MySQL database:

  • update to the latest version of code from SVN. Or update to the exact version given in URL:  http://example.com/cgi/01_update.sh?100
  • drop existing database and create a new database with default admin&pass
  • sync existing database

Download

Check out with Subversion: svn co http://django.org.ua/svn/deployment-scripts/

Browse the code http://django.org.ua/browser/deployment-scripts

README.txt

cgi deployment scripts for django projects
for SVN repository and MySQL database
2007-2010 http://www.pleso.net/
Oleksandr Pryymak
Features:
 - update to the latest version of code from SVN. Or update to the exact version given in URL: http://example.com/cgi/01_update.sh?100
 - drop existing database and create a new database with default admin&pass
 - sync existing database
Get latest code from http://django.org.ua/
svn co http://django.org.ua/svn/deployment-scripts/
wiki page: http://django.org.ua/wiki/DeploymentScripts
Tune settings, drop into cgi-bin folder.
Default admin credentials:
login: admin
pass: 12345
BEWARE: mod_python under apache caches the code, so you have to wait or restart apache after update.