aboutsummaryrefslogtreecommitdiffstats
path: root/moon_dashboard/README.rst
blob: de9c40586e879a3f9ca8680ed6b5e9816f845b80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
=============================================
Moon plugin for Horizon (OpenStack Dashboard)
=============================================

Install Horizon
===============

https://docs.openstack.org/horizon/latest/install/index.html

or for developper quick start:

https://docs.openstack.org/horizon/latest/contributor/quickstart.html


Moon plugin
=========== 

Clone the plugin:

"git clone https://gitlab.forge.orange-labs.fr/moon/dashboard.git"

* ``plugin`` is the location of moon plugin
* ``horizon`` is the location of horizon

Make symbolic link to enabled file:

"ln -s ``plugin`̀`/moon/enabled/_32000_moon.py ``horizon``/openstack_dashboard/local/enabled/_32000_moon.py"

Make symbolic link to dashboard folder:

"ln -s ``plugin`̀`/moon/ ``horizon``/openstack_dashboard/dashboards/moon"

Finish by restarting the Horizon server.


Set Moon API endpoint
===========

Set the endpoint in ``plugin``/moon/moon/static/moon/js/moon.module.js file