This section explains how to setup and configure the FLARECAST development infrastructure on your personal computer.
Table of Contents | ||
---|---|---|
|
Getting ready
System Requirements
- 64-bit host system (OSX or Linux, Windows is currently not tested/supported)
- min. 3.5 GB free disk space (the more the better, depends on how much HMI data you want to download)
- min 4.0 GB RAM (the more the better)
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-compose | Install https://www.docker.com/docker-toolbox
|
|
Setup Access to Infrastructure
...
Code Block | ||||
---|---|---|---|---|
| ||||
local> curl -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 artracker local> docker pull flarecast/artracker ... # if you want to run the sample graphic plotter local> docker pull flarecast/regiographregiongraph ... # 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. |
All FLARECAST docker containers can be found at DockerHub
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"
...
- Retry curl