RETIRED, Craton Horizon plugin.
Go to file
ldcastell f63308d60f Merge pull request #8 from ediardo/JSUnitTestsBase
Add JavaScript unit tests code base
2016-08-23 14:02:23 -05:00
api_tests Removed the docstrings from the start of file 2016-08-16 15:32:41 -05:00
craton_dashboard Add JavaScript unit tests code base 2016-08-23 12:36:11 -05:00
tools Removed PEP8 errors 2016-08-16 15:06:17 -05:00
.eslintrc Add JavaScript unit tests code base 2016-08-23 12:36:11 -05:00
.gitignore Add JavaScript unit tests code base 2016-08-23 12:36:11 -05:00
.testr.conf Added some files and stuff 2016-08-09 14:40:15 -05:00
.travis.yml Added travis conf file 2016-08-09 16:06:02 +00:00
AUTHORS Move the panel dashboard outside of the project section 2016-08-17 15:51:07 -05:00
ChangeLog Move the panel dashboard outside of the project section 2016-08-17 15:51:07 -05:00
LICENSE Initial commit 2016-08-03 11:44:33 -05:00
MANIFEST.in Added base methods and classes for API 2016-08-04 22:58:20 +00:00
README.rst Add JavaScript unit tests code base 2016-08-23 12:36:11 -05:00
karma.conf.js Add JavaScript unit tests code base 2016-08-23 12:36:11 -05:00
manage.py [WIP] Added code base for unit testing and code refactoring 2016-08-15 12:42:41 -05:00
package.json Add JavaScript unit tests code base 2016-08-23 12:36:11 -05:00
requirements.txt [WIP] Added code base for unit testing and code refactoring 2016-08-15 12:42:41 -05:00
run_test.sh [WIP] Added code base for unit testing and code refactoring 2016-08-15 12:42:41 -05:00
setup.cfg [WIP] Added code base for unit testing and code refactoring 2016-08-15 12:42:41 -05:00
setup.py Added regions panel 2016-08-04 00:17:08 +00:00
test-requirements.txt Removed PEP8 errors 2016-08-16 15:06:17 -05:00
test.txt added test 2016-08-09 16:09:34 +00:00
tox.ini Removed PEP8 errors 2016-08-16 15:06:17 -05:00

README.rst

Craton UI for Horizon Dashboard

Test

  • Python tests: ./run_test.sh
  • JS tests:
    1. npm install (first do ./run_tests.sh to create virtual environment)
    2. npm run lint for eslint
    3. npm run test for JS unit tests

Install

From http://docs.openstack.org/developer/horizon/tutorials/plugin.html

  • plugin is the location of your plugin
  • horizon is the location of horizon
  • package is the complete name of your packaged plugin
  1. Run “cd plugin & python setup.py sdist”
  2. Run “cp -rv enabled horizon/openstack_dashboard/local/”
  3. Run “horizon/tools/with_venv.sh pip install dist/package.tar.gz”
  4. Restart Apache or your Django test server