aboutsummaryrefslogtreecommitdiffstats
path: root/moon_dashboard/README.md
blob: fca52b2d4d0f7691c7b152dd89c2b572c1c1fb51 (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
40
# 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:

```bash
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:

```bash
ln -s $plugin/moon/enabled/_32000_moon.py $horizon/openstack_dashboard/local/enabled/_32000_moon.py
```

Make symbolic link to dashboard folder:

```bash
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