Configuring project on HPC server¶
Note: Assuming we are testing project named
- Login to HPC server and clone
cd $WORKSPACE # directory where you keep your projects git clone https://github.com/janhybs/ci-hpc.git cd ci-hpc
Install necessary pip packages:
install.shscript located in the
binfolder. It is basically shortcut for a
pip3 install -r requirements.txt. You can also pass any arguments to the pip. It is expected to have
pip3in the path.
bin/install.sh --user --upgrade
To install packages system wide, do not add the
Create configuration file
config.yamlfor the project
export PROJECT_NAME=hello-world mkdir -p cfg/$PROJECT_NAME nano cfg/$PROJECT_NAME/config.yaml
Please refer to config.yaml section to find out more about configuration.