Add readme and pash script for ch05
authorLorin Hochstein <lorin.hochstein@sendgrid.com>
Fri, 6 Feb 2015 02:32:52 +0000 (21:32 -0500)
committerLorin Hochstein <lorin.hochstein@sendgrid.com>
Fri, 6 Feb 2015 02:32:52 +0000 (21:32 -0500)
ch05/README.md [new file with mode: 0644]
ch05/mezzanine-dev.sh [new file with mode: 0755]

diff --git a/ch05/README.md b/ch05/README.md
new file mode 100644 (file)
index 0000000..291452d
--- /dev/null
@@ -0,0 +1,3 @@
+There are no playbooks in this chapter.
+
+You can run the mezzanine-dev.sh script to run Mezzanine in development mode.
diff --git a/ch05/mezzanine-dev.sh b/ch05/mezzanine-dev.sh
new file mode 100755 (executable)
index 0000000..9ad0cfe
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/bash
+virtualenv venv
+source venv/bin/activate
+pip install mezzanine
+mezzanine-project myproject
+cd myproject
+python manage.py createdb
+python manage.py runserver