Update README.md

This commit is contained in:
Peter Lomakin 2013-10-23 16:12:29 +04:00
parent cbfc979685
commit 709faccc47

View File

@ -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://<host_machine_ip>:8000/validation
3. After that you can access application on http://<host_machine_ip>: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 <name_of_the_heroku_app>
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 <name_of_the_heroku_app>
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
-------