forked from s_ranjbar/city_retrofit
1.9 KiB
1.9 KiB
LINUX_INSTALL
Prepare your environment
Install Miniconda
- Get the link for the latest version of Miniconda from https://docs.conda.io/en/latest/miniconda.html
- Download the installer using wget
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
- Make the installer executable
chmod +x ./Miniconda3-latest-Linux-x86_64.sh
- Run the installer
./Miniconda3-latest-Linux-x86_64.sh
- Holder enter until you are prompted to accept the license terms. Enter yes.
- Initialize the conda environment
conda init bash
- Source .bashrc
source ~/.bashrc
- Create a conda environment for the hub
conda create --name hub python=3.9.16
Setup SRA
- Get the sra binary and libshortwave.so library from Guille or Koa
- Place the binary and the library into your directory of choice
- Make a symlink for the binary and place it into /usr/local/bin/sra
sudo ln -s ~/sra /usr/local/bin/sra
- Make a symlink for the library and place it into /usr/local/lib/libshortwave.so
sudo ln -s ~/libshortwave.so /usr/local/lib/libshortwave.so
Setup INSEL
- TBD
Get a Python editor
You are welcome to use the Python editor of your preference. The CERC team generally uses PyCharm to develop the hub. The latest version of PyCharm can be downloaded from JetBrains website. For setup and installation instructions, please view the "Get a Python Editor" from the WINDOWS_INSTALL documentation.