From 63f6939e614da13b02db79645b8314a5106a067c Mon Sep 17 00:00:00 2001 From: Giuseppe Attardi <giuseppe.attardi@garr.it> Date: Sun, 7 Jul 2019 17:13:32 +0200 Subject: [PATCH] Update README.md --- charms/garr-dashboard/README.md | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/charms/garr-dashboard/README.md b/charms/garr-dashboard/README.md index c65bcf9..ebb538f 100644 --- a/charms/garr-dashboard/README.md +++ b/charms/garr-dashboard/README.md @@ -1,38 +1,36 @@ # Overview -Subordinate charm to the Horizon Dashboard. -It installs the Dashboard theme and the accountimg plugin. +Subordinate charm to the `Horizon Dashboard`. +It installs the dashboard accountimg plugin. -## Installation +# Usage -#. Download the charm to a local folder (garr-dashboard):: +#. Download the charm to a local folder:: - $ wget https://git.garr.it/cloud/GUI/dashboard/-/archive/master/dashboard-master.tar.gz - + $ wget https://git.garr.it/cloud/GUI/dashboard/-/archive/master/dashboard-master.tar.gz?path=charms%2Fgarr-dashboard + $ tar zxf dashboard-master-charms-garr-dashboard/charms/garr-dashboard #. deploy the charm:: - $ juju deploy ./garr-dashboard + $ juju deploy ./dashboard-master-charms-garr-dashboard/charms/garr-dashboard -#. configure the charm for database connection:: +#. configure the connection to the accounting database: $ juju config garr-dashboard database-host=<DB_HOST> $ juju config garr-dashboard database-name=<DB_NAME> $ juju config garr-dashboard database-user=<DB_USER> - $ juju config database-user-password=<DB_PASS: $ juju config horizon-webroot=/ -#. add relations to the Horizon dashboard main charm:: +#. add relations to the Horizon dashboard main charm: - $ juju add-relation dashboard-cloudbase garr-dashboard + $ juju add-relation openstack-dashboard garr-dashboard -#. add relations to the identity service:: +#. add relations to the identity service: $ juju add-relation dashboard-cloudbase keystone:identity-service -#. Optional: set the deault gateway: +#. Optional: set the default gateway: $ juju deploy cs:~csd-garr/defaultgw $ juju add-relation dashboard-cloudbase defaultgw - -- GitLab