...
Code Block | ||||
---|---|---|---|---|
| ||||
# create file .ssh/config to auto-forward yourself to cluster-head local> nano .ssh/config # content of .ssh/config Host flarecast-infra ProxyCommand ssh username@ias-ssh.ias.u-psud.fr nc cluster-head.ias.u-psud.fr 22 User username ForwardX11Trusted yes ServerAliveInterval 60 # Ctrl-x y <return> to save and close local> ssh flarecast-infra # accept fingerprint # enter FLARECAST cluster password # you can ignore message: /usr/bin/xauth: file ~/.Xauthority does not exist cluster-head> exit local> |
...
Code Block | ||||
---|---|---|---|---|
| ||||
local> ssh flarecast-infra # enter FLARECAST cluster password cluster-head> exit local> |
Test installation
Setup Docker
On OS X: Run "/Applications/Docker/Docker Quickstart Terminal"
On Linux make sure that docker daemon is running.
Create a base directory for the FLARECAST development infrastructure. We will call this $FC_DEVINFRA in the remainder of this documentassume the following commands are executed in this directory.
Code Block | ||||
---|---|---|---|---|
| ||||
local> cd $FC_DEVINFRA # see below for troubleshooting local> curl -O o docker-compose.yml https://dev.flarecast.eu/stash/projects/INFRA/repos/dev-infra/browse/docker-compose.yml?raw # if you want to run smart on your computer local> docker pull flarecast/smart-python ... # if you want to run the sample graphic plotter local> docker pull flarecast/regiograph ... Use this command to start up the docker environment local> docker-compose up # In case you see any errors about database connection timeouts, just press Ctrl + C and run docker-compose up again. |
Troubleshooting:
curl: SSL certificate problem: Invalid certificate chain (OS X only)
- Open Safari (not Firefox, Opera, Chrome or similar)
- visit https://dev.flarecast.eu
- A certificate warning should pop up. -> Click "Show Certificate"
- Click on "Trust" and set to "Always trust"
All FLARECAST docker containers can be found at DockerHub