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