update readme with how to test changes
Change-Id: I4419dd03be1c2a8be97934e8aba4e829fe0a0d21
This commit is contained in:
parent
e97ee0b704
commit
ea49596302
33
README.rst
33
README.rst
@ -19,14 +19,43 @@ enable_plugin trove-dashboard git://git.openstack.org/openstack/trove-dashboard
|
||||
|
||||
To run unit tests:
|
||||
------------------
|
||||
::
|
||||
|
||||
./run_tests.sh
|
||||
|
||||
Editing Code
|
||||
------------
|
||||
|
||||
Apache
|
||||
~~~~~~
|
||||
|
||||
Make a change to trove-dashboard then goto to the horizon directory and
|
||||
compress the code with django and then restart apache.::
|
||||
|
||||
# rsync code to /opt/stack/trove-dashboard
|
||||
# copy or link files from trove-dashboard/enabled/* to horizon/openstack_dashboard/local/enabled/
|
||||
cd /opt/stack/horizon
|
||||
python manage.py compress
|
||||
python manage.py collectstatic --noinput
|
||||
sudo service apache2 restart
|
||||
|
||||
|
||||
Django
|
||||
~~~~~~
|
||||
|
||||
You can also speed up development time using the django test server instead of
|
||||
apache.::
|
||||
|
||||
/opt/stack/horizon/run_tests.sh --runserver
|
||||
|
||||
If you set COMPRESS_ENABLED and COMPRESS_OFFLINE to False in local_settings.py
|
||||
that allows you to bypass the compress and collectstatic as well.
|
||||
|
||||
NOTE:
|
||||
=====
|
||||
|
||||
As of the Mitaka release, the dashboard for trove is now maintained
|
||||
outside of the Horizon codebase, in this repository.
|
||||
As of the Mitaka release, the dashboard for trove is now maintained outside of
|
||||
the Horizon codebase, in this repository.
|
||||
|
||||
Links:
|
||||
------
|
||||
|
Loading…
Reference in New Issue
Block a user