mistral-dashboard documentation

* Added PyCharm debug documentation

Partially implements blueprint: mistral-documentation

Change-Id: Ifdf5466d5214e85e97cb491c79742b8c3b35e071
This commit is contained in:
Gal Margalit 2015-08-10 14:13:47 +00:00
parent 054f579494
commit c299503e49
1 changed files with 13 additions and 0 deletions

View File

@ -53,4 +53,17 @@ or run the development server (in case you have decided to use local horizon)::
$ cd ../horizon/
$ tox -evenv -- python manage.py runserver
Debug Instructions
==================
**Pycharm**
Set PyCharm debug settings:
1. Enter debug configurations menu
2. Create a new Django Server configuration
3. Enter some port so it won't run on the default (for example - port: 4000)
4. On the same window click on Environment variables
a. Make sure you have PYTHONUNBUFFERED set as 1
b. Create a new pair - DJANGO_SETTINGS_MODULE : openstack_dashboard.settings
You should now be able to debug and run the project using PyCharm.