Proof of concept to gather all OpenStack Horizon endpoints published in the EGI GOCDB.
Clone this repository:
cd /path/to/working/directory
git clone https://github.com/EGI-Federation/fedcloud-dashboard.git
Create a conda environment with requirements:
# Download and install conda
cd /path/to/conda/install/folder
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh -b -p conda-install
source conda-install/etc/profile.d/conda.sh
# Create conda environment using the environment.yml file
cd /path/to/working/directory/fedcloud-dashboard/
conda env create -f environment.yml
conda activate horizon-aggregator
Test whether the query script works:
cd /path/to/working/directory/fedcloud-dashboard/dashboard/
python find_endpoints.py
Test whether the flask app works:
cd /path/to/working/directory/fedcloud-dashboard/dashboard/
export FLASK_APP=main
flask run --host=0.0.0.0
First things first: make sure port 8000 is open on the target system!
Here are the steps:
git clone https://github.com/EGI-Federation/fedcloud-dashboard.git
cd fedcloud-dashboard
sudo docker build --no-cache -t dashboard:1.0.0 .
Here are the steps:
git clone https://github.com/EGI-Federation/fedcloud-dashboard.git
cd fedcloud-dashboard/dashboard
sudo docker run \
--name dashboard \
--detach \
--publish 8000:8000 \
dashboard:1.0.0
The app should now return the list OpenStack Horizon endpoints published in the EGI GOCDB.