759 B
759 B
Craton UI for Horizon Dashboard
Test
- Python tests:
./run_test.sh
- JS tests:
npm install
(first do./run_tests.sh
to create virtual environment)npm run lint
for eslintnpm 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
- Run “cd plugin & python setup.py sdist”
- Run “cp -rv enabled horizon/openstack_dashboard/local/”
- Run “horizon/tools/with_venv.sh pip install dist/package.tar.gz”
- Restart Apache or your Django test server