Start a new Django Project
Command to start a new Django project…
django-admin.py startproject [PROJECT_NAME]
cd [PROJECT_NAME]
python manage.py startapp [PROJECT_NAME]
Command to start a new Django project…
django-admin.py startproject [PROJECT_NAME]
cd [PROJECT_NAME]
python manage.py startapp [PROJECT_NAME]
This script will package your SVN code to a tar.gz file. Just give the name of the project as the first argument. Like this…
perl packager.pl jus5
#!/usr/bin/perl
#Package a Sourceforge project from its SVN source.
die("Please provide the name of the project as the argument") unless(ARGV[0]);project=ARGV[0];
#project='jus5';
`svn checkout https://project.svn.sourceforge.net/svnroot/project`;
`find project/ -name .svn -exec rm -rf {} \\;`;
`tar -czfproject.tar.gz project/`;
`rm -rfproject/`;
This is the method that I use to package a SVN Project. For CVS projects, the code is slightly different. Please note that the second line requires bash to work.
This is how I packaged nexty
svn checkout https://nexty.svn.sourceforge.net/svnroot/nexty
find nexty/ -name .svn -exec rm -rf {} \;
tar -czf nexty.tar.gz nexty/
rm -rf nexty/