Update README and setup script

This commit is contained in:
Jan Eitzinger 2023-06-23 06:37:41 +02:00
parent 567a720be8
commit d6517a2797
2 changed files with 10 additions and 10 deletions

View File

@ -1,8 +1,7 @@
# cc-docker
**Please note: This repo is under ongoing construction**
This is a `docker-compose` setup which provides a quickly started environment for ClusterCockpit development and testing, using the modules `cc-backend` (GoLang) and `cc-frontend` (Svelte). A number of services is readily available as docker container (nats, cc-metric-store, InfluxDB, LDAP), or easily added by manual configuration (MySQL).
This is a `docker-compose` setup which provides a quickly started environment for ClusterCockpit development and testing, using `cc-backend`.
A number of services is readily available as docker container (nats, cc-metric-store, InfluxDB, LDAP), or easily added by manual configuration (MySQL).
It includes the following containers:
* nats (Default)
@ -68,6 +67,7 @@ Credentials for the preconfigured demo user are:
You can also login as regular user using any credential in the LDAP user directory at `./data/ldap/users.ldif`.
TODO: Update job archive and all other metric data.
The job archive with 1867 jobs originates from the second half of 2020.
Roughly 2700 jobs from the first week of 2021 are loaded with data from InfluxDB.
Some views of ClusterCockpit (e.g. the Users view) show the last week or month.

View File

@ -21,10 +21,10 @@ fi
# Download unedited job-archive to ./data/job-archive-source
if [ ! -d data/job-archive-source ]; then
cd data
wget https://hpc-mover.rrze.uni-erlangen.de/HPC-Data/0x7b58aefb/eig7ahyo6fo2bais0ephuf2aitohv1ai/job-archive.tar.xz
tar xJf job-archive.tar.xz
wget https://hpc-mover.rrze.uni-erlangen.de/HPC-Data/0x7b58aefb/eig7ahyo6fo2bais0ephuf2aitohv1ai/job-archive-demo.tar
tar xf job-archive-demo.tar
mv ./job-archive ./job-archive-source
rm ./job-archive.tar.xz
rm ./job-archive-demo.tar
cd ..
else
echo "'data/job-archive-source' already exists!"
@ -45,7 +45,7 @@ fi
# Update timestamps
perl ./migrateTimestamps.pl
# Create archive folder for rewrtitten ccms checkpoints
# Create archive folder for rewritten ccms checkpoints
if [ ! -d data/cc-metric-store/archive ]; then
mkdir -p data/cc-metric-store/archive
fi