From a0c76f6e6f6c49f98e2832efd35ba1c041666020 Mon Sep 17 00:00:00 2001 From: Primo <aaalsaye@stud.ntnu.no> Date: Sat, 6 Nov 2021 09:57:41 +0100 Subject: [PATCH] Updated readme with instructions --- README.md | 21 +++++++++++++++++++-- autoscale_env.yaml => scale_env.yaml | 0 setup.sh | 0 3 files changed, 19 insertions(+), 2 deletions(-) rename autoscale_env.yaml => scale_env.yaml (100%) create mode 100644 setup.sh diff --git a/README.md b/README.md index bafd679..c3f064e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,21 @@ # scaling_scheduler -Use this command when cloning thisrepo for submodules to clone as well -git clone --recurse-submodules \ No newline at end of file +Use this command when cloning this repo for submodules to clone as well +git clone --recurse-submodules repo_url + +* Edit scale_env.yaml with all necessary values from openstack +* Run setup.sh on a manager instance that is authenticated in the openstack cli (e.g run service user script) + +Example environment variables +``` +parameters: + key: 'manager' + image: 'Ubuntu Server 18.04 LTS (Bionic Beaver) amd64' + flavor: 'm1.small' + database_flavor: 'm1.small' + external_network_id: 'internal' + network: 'net1' + subnet_id: 'subnet1' + database_name: 'wordpress_db' + database_user: 'wordpress_admin' +``` \ No newline at end of file diff --git a/autoscale_env.yaml b/scale_env.yaml similarity index 100% rename from autoscale_env.yaml rename to scale_env.yaml diff --git a/setup.sh b/setup.sh new file mode 100644 index 0000000..e69de29 -- GitLab