From ae5086ed4c47ed60cb0d960fdff06ce46d4a2296 Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Thu, 5 Feb 2015 21:32:52 -0500 Subject: [PATCH] Add readme and pash script for ch05 --- ch05/README.md | 3 +++ ch05/mezzanine-dev.sh | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 ch05/README.md create mode 100755 ch05/mezzanine-dev.sh diff --git a/ch05/README.md b/ch05/README.md new file mode 100644 index 0000000..291452d --- /dev/null +++ b/ch05/README.md @@ -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 index 0000000..9ad0cfe --- /dev/null +++ b/ch05/mezzanine-dev.sh @@ -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 -- 2.44.0