summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md32
1 files changed, 24 insertions, 8 deletions
diff --git a/README.md b/README.md
index 4facfde8..28e368aa 100644
--- a/README.md
+++ b/README.md
@@ -9,12 +9,28 @@ Avast ye landlubbers! Saleor be a Satchless store ye can fork.
Usage
-----
-1. Fork the repo on github (optionally)
-1. Checkout/download
-1. If you like you can run tests - ``python setup.py test``
-1. run ``python setup.py develop`` if you are going to develop or ``python setup.py install`` if you just want to install and run saleor
-1. run ``saleor syncdb --migrate``
-1. run ``saleor runserver`` for development server (on localhost:8000)
-
-``saleor`` is your shortcut for running ``python manage.py`` so you can use all manage.py commands and parameters
+1. Fork the repo on GitHub (you can skip this step if you like)
+1. `git clone` your repository
+1. Install it in development mode:
+
+ ```
+ $ python setup.py develop
+ ```
+ (For production use `python setup.py install` instead.)
+1. Add a `SECRET_KEY` to your `settings.py` (we did not want to include one out of fear that you'd forget to change it)
+1. Prepare the database:
+
+ ```
+ $ saleor syncdb --all
+ ```
+1. Run `saleor runserver`¹ to start the development server (on [localhost:8000](http://localhost:8000/))
+1. Edit the code to have it suite your requirements
+1. Run the tests to make sure everything works:
+
+ ```
+ $ python setup.py test
+ ```
+1. Deploy!
+
+¹ `saleor` is a shortcut for running `python manage.py` so you can use it to execute all management commands.