Installation code 👩‍💻
Installation
Please follow the instructions below to install the package.
-
Fork the repository (highly recommended if you wish to contribute to the developpement of the code)
-
Install SPOCK from your forked version:
git clone git@github.com:your_github_id/SPOCK_v2.git cd spock pip install -r requirements.txt
If you don’t want to fork the repository proceed to the installation by running this lines of codes in a terminal:
git clone git@github.com:educrot22/SPOCK_v2.git cd spock pip install -r requirements.txt
Using SPOCK
To use SPOCK you will need to be part of the SPECULOOS consortium and have access to:
- the SPECULOOS server,
- the Portal,
- the Cambridge Archive,
- the SPECULOOS WG6 spread sheet,
- the SSO HUB,
- the SNO reduction PC.
Then follow the procedure:
-
the first step is to add a password.csv file in the folder: “your_SPOCK_path/SPOCK/credentials/”.
-
the second step is to connect to the Liège VPN to have access to all functions of SPOCK
-
open
SPOCK_app.ipyn
in a jupyter notebook and click onrun all cells
to check everything is working fine.
Contact Elsa Ducrot for more details (else.ducrot@cea.fr)
Upgrading
-
In a terminal in SPOCK source code folder:
- Make sure your forked version is in sync
-
Just run the following command on your terminal when in the repository
git pull
-
If you wish to propose enhancements or find an error in the code please make a pull request on GitHub.
More details on SPOCK
SPOCK is presented in more details in How SPOCK works and in Sebastian et al. 2020.