From 709faccc47f64523c9194a2f8d9adb9fca40feb8 Mon Sep 17 00:00:00 2001 From: Peter Lomakin Date: Wed, 23 Oct 2013 16:12:29 +0400 Subject: [PATCH] Update README.md --- README.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index ea86442..4f2f6e3 100644 --- a/README.md +++ b/README.md @@ -32,17 +32,21 @@ Deployment ### Development environment in vbox via vagrant 1. Install vagrant(MacOS, Windows, Ubuntu) - http://downloads.vagrantup.com/tags/v1.3.3 2. ./run_vagrant_provision.sh -3. After that you can access application on http://:8000/validation +3. After that you can access application on http://:8000/ ### Heroku deployment -This steps is already depricated, because of mongo-db usage. -1. $ git clone git@github.com:MirantisLabs/rubick.git -2. $ cd rubick -3. $ heroku git:remote -a -4. $ git push heroku master +1. This steps is already depricated, because of mongo-db usage in application. But if you really want to deploy on Heroku - use their paid plugin MongoHQ. +2. $ git clone git@github.com:MirantisLabs/rubick.git +3. $ cd rubick +4. $ heroku git:remote -a +5. $ git push heroku master ### Manual deployment -All steps for manual deployment and running the app you can find here: ```/vagrant/cookbooks/openstack-validator/recipes/default.rb``` +1. Install python dependencies: $ pip install -r requirements.txt +2. Install system dependencies: mongodb-server, redis-server +3. To run webui: $ PYTHONPATH=joker: python webui.py +4. To run main worker: $ PYTHONPATH=joker: celery worker --app=rubick.celery:app +5. All steps for manual deployment and running the app you can find here: ```/vagrant/cookbooks/openstack-validator/recipes/default.rb``` Hacking -------