Permalink
Browse files

Added windows make file to setup and run project under windows

  • Loading branch information...
calaldees committed Mar 29, 2012
1 parent de6440b commit ff466ee9ca855c00b658b612fe661b1920a3f415
Showing with 32 additions and 7 deletions.
  1. +2 −6 README.txt
  2. +30 −0 make.bat
  3. +0 −1 run.bat
View
@@ -11,12 +11,8 @@ in a varity of differnt langauges.
Getting Started
---------------
-Linux
+Linux & Windows
- make setup
- make run
-Windows
-- cd <directory containing this file>
-- $venv/bin/python setup.py develop
-- $venv/bin/populate_MyProject development.ini # AllanC - um ... populate_MyProject would not have been aquired in a pull, this needs investigating
-- $venv/bin/pserve development.ini
+(AllanC - TODO: Need instructions/script for setting up virtualenv in windows)
View
@@ -0,0 +1,30 @@
+@echo off
+
+IF "%1"=="run" GOTO run
+IF "%1"=="setup" GOTO setup
+IF "%1"=="clean" GOTO clean
+GOTO help
+
+:help
+echo Usage: make 'target', where target is
+echo setup -- setup python egg
+echo test -- run all nosetests
+echo blank-db -- create a blank database
+echo run -- run the site in development mode
+echo clean -- reset the folder to clean git checkout (removes virtual python env)
+GOTO end
+
+:run
+pserve development.ini --reload
+GOTO end
+
+:setup
+python setup.py develop
+REM populate_MyProject development.ini
+GOTO end
+
+:clean
+rmdir *.egg-info /S /Q
+GOTO end
+
+:end
View
@@ -1 +0,0 @@
-pserve development.ini --reload

0 comments on commit ff466ee

Please sign in to comment.