...
- The Docker-based development Infrastructure to be installed on your computer.
- The database containing HMI images and preprocessed data, which is hosted on the FLARECAST cluster in France.
This document explains the first part, i.e how to install the FLARECAST development infrastructure on your computer. Follow this procedure if you intend to develop your own algorithms.
Access to the Infrastructure inf in France is documented in Setup access to FLARECAST cluster.
...
Tool/Library | Recommended version |
---|---|
Docker | 117.9.109 |
Docker Compose | 1.5.1 |
docker-py | 1.5.0 |
IDL | 8.3 |
Install software
Note: Windows has not been tested yet
Software | OS X | Linux | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Python | Install https://www.python.org/downloads/release/python-2711/ | Should be preinstalled. Test with
Otherwise check here. | ||||||||||||||
PIP (Python installer) | PIP is shipped with Python 2.7.9+ and Python 3.4+.
If you don't have it follow https://pip.pypa.io/en/stable/installing/ | |||||||||||||||
Python IDE | We suggest PyCharm, but any text editor or Spyder will work as well. | |||||||||||||||
IDL | You can use your normal IDL setup to access data and prototype your algorithms. Note: We do not support execution of IDL code on our cluster due to licensing issues. Let us know if this is a problem. Please avoid SolarSoft/SSW-specific functionality in your algorithms. They tend to be hard to be ported to a cluster. | |||||||||||||||
Git (source code repository) |
|
| ||||||||||||||
Docker and docker-composeInstall | Install Docker community edition. https://wwwdocs.docker.com/community-edition#/downloadengine/installation/
|
|
...
- 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"
- Retry curl
curl: SSL certificate problem: unable to get local issuer certificate
- Run curl with the --insecure option
docker: cannot resolve hostname
- Add your DNS server (xx.xx.xx.xxx) to '\etc\default\docker', e.g.
DOCKER_OPTS="--dns xx.xx.xx.xxx --dns 8.8.8.8 --dns 8.8.4.4"
where 8.8.8.8 and 8.8.4.4 are the Google DNS servers - Restart the docker service
sudo restart docker
Test Docker
Info | ||
---|---|---|
| ||
After starting infrastructure.sh switch to "Kitematic" Select Container "devinfrastest_webapp_1" On the right side panel click on the arrow icon next to "Web Preview" |
Info | ||
---|---|---|
| ||
Open http://127.0.0.1:8000/ in a browser |