Sahara Horizon plugin.
Go to file
Akihiro Motoki 9af1c5660b Translation setup for sahara-dashboard
In Liberty, sahara-dashboard supports translations, but does not now.
Once this patch is merged, we can enable the infra tranlation jobs.

* Prepare babel-{django|djangojs}.cfg so that the infra script
  extracts message catalogs [1]
* Update devstack plugin to compile message catalogs
* Remove babel related entries in setup.cfg because it does not
  work for horizon plugins. Babel does not support message extraction
  for multiple domains.
* Create symlink sahara_dashboard/content/data_processing/locale
  (which points to sahara_dashboard/locale)
  The infra translation script assumes <modulename>/locale as
  locale dir. On the other hand, sahara dashboard registers
  "sahara_dashboard.content.data_processing" in INSTALLED_APPS.
  Django search locale data from <apps>/locale for each INSTALLED_APPS.
  Thus this symlink is required to make translation work.

Note that I am not sure why sahara dashboard uses
"sahara_dashboard.content.data_processing" as INSTALLED_APPS unlike
other horizon related projects, but it needs more investigation
and this patch does not touch it at the moment.

[1] http://docs.openstack.org/infra/manual/creators.html#enabling-translation-infrastructure

Change-Id: I93609a1af08b5a6f64fc43c16722f4c759f68302
2016-02-16 13:59:15 +09:00
devstack Translation setup for sahara-dashboard 2016-02-16 13:59:15 +09:00
sahara_dashboard Translation setup for sahara-dashboard 2016-02-16 13:59:15 +09:00
tools Adapt for all horizon i9n refactoring changes 2016-01-27 10:58:59 +00:00
.gitignore Adding a few missing files 2015-12-14 17:10:39 -07:00
.gitreview Update .gitreview to point on updated repo 2014-03-13 06:11:40 +00:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:40 +00:00
HACKING.rst Changing "Savanna" to "Sahara" in basic strings 2014-03-12 16:44:46 -04:00
LICENSE Excising Sahara content from Horizon 2015-11-30 16:40:44 -07:00
MANIFEST.in Excising Sahara content from Horizon 2015-11-30 16:40:44 -07:00
README.rst Adding devstack plugin support 2015-12-02 10:31:19 -07:00
babel-django.cfg Translation setup for sahara-dashboard 2016-02-16 13:59:15 +09:00
babel-djangojs.cfg Translation setup for sahara-dashboard 2016-02-16 13:59:15 +09:00
manage.py Excising Sahara content from Horizon 2015-11-30 16:40:44 -07:00
requirements.txt Updated from global requirements 2016-01-19 13:53:24 +00:00
run_tests.sh Fixing imports and no longer always running int tests 2016-01-26 14:17:21 -05:00
setup.cfg Translation setup for sahara-dashboard 2016-02-16 13:59:15 +09:00
setup.py Updated from global requirements 2015-09-17 12:17:22 +00:00
test-requirements.txt Updated from global requirements 2016-02-11 07:45:12 +00:00
tox.ini Adding integration test support 2015-12-31 12:56:12 +03:00

README.rst

OpenStack Dashboard plugin for Sahara project

How to use with Horizon on server:

Use pip to install the package on the server running Horizon. Then either copy or link the files in sahara_dashboard/enabled to openstack_dashboard/local/enabled. This step will cause the Horizon service to pick up the Sahara plugin when it starts.

How to use with devstack:

Add the following to your devstack local.conf file:

enable_plugin sahara-dashboard git://git.openstack.org/openstack/sahara-dashboard

To run unit tests:

./run_tests.sh

NOTE:

As of the Mitaka release, the dashboard for sahara is now maintained outside of the horzon codebase, in the repository.

Sahara project: https://github.com/openstack/sahara

Sahara at wiki.openstack.org: https://wiki.openstack.org/wiki/Sahara

Launchpad project: https://launchpad.net/sahara

Sahara docs site: http://docs.openstack.org/developer/sahara

Roadmap: https://wiki.openstack.org/wiki/Sahara/Roadmap

Quickstart guide: http://docs.openstack.org/developer/sahara/devref/quickstart.html

How to participate: http://docs.openstack.org/developer/sahara/devref/how_to_participate.html

License

Apache License Version 2.0 http://www.apache.org/licenses/LICENSE-2.0