django-recipes 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/django-recipes.rb +1 -1
- data/readme.markdown +4 -3
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.2
|
data/lib/django-recipes.rb
CHANGED
data/readme.markdown
CHANGED
@@ -14,8 +14,9 @@ Django Recipes is a set of capistrano recipes created to automate deployment of
|
|
14
14
|
deploy:reload # Reloads apache
|
15
15
|
deploy:syncdb # Run django syncdb
|
16
16
|
deploy:vhost # Creates a vhost for your application and uploads it
|
17
|
-
web:disable
|
18
|
-
web:enable
|
17
|
+
deploy:web:disable # Disable the website
|
18
|
+
deploy:web:enable # Enables the website
|
19
|
+
django:run # runs a command from manage.py
|
19
20
|
|
20
21
|
# How it Works
|
21
22
|
Capistrano uses ssh to connect to your server and create a directory structure. It uses this directory structure:
|
@@ -37,7 +38,7 @@ Before you deploy your app, your server needs to be running apache and mod_pytho
|
|
37
38
|
* top level media directory
|
38
39
|
* ruby & rubygems installed
|
39
40
|
|
40
|
-
#
|
41
|
+
# Setting on Your Capfile
|
41
42
|
Lets take an example application and the associated config file.
|
42
43
|
|
43
44
|
## Application Structure
|