Skip to content

ImperialCollegeLondon/imap-pipeline-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imap-pipline-core

Development

Dev Container

Open Dev Container in Visual Studio Code. Requires the Dev Containers extension.

To use WebPODA APIs, an access token needs to be defined in the environment as WEBPODA_AUTH_CODE. If this variable exists in WSL's ~/.bashrc or ~/.zshrc, then this will be automatically copied over to the Dev Container. The access token needs to be defined as an encrypted string, as explained on the WebPODA documentation.

WSL Setup

  1. Download and install Poetry following the instructions for your OS.

  2. Set up the virtual environment:

    poetry install
  3. Activate the virtual environment (alternatively, ensure any python-related command is preceded by poetry run):

    poetry shell
  4. Install the git hooks:

    pre-commit install
  5. To use the docker /data mount you need a folder on your WSL and a user with a given UID

# in WSL on your HOST
mkdir -p /mnt/imap-data
sudo adduser -u 5678 --disabled-password --gecos "" appuser
# you have created the user with the same UID as in the container. now grant the folder to the user
chown -R appuser:appuser /mnt/imap-data

Build, pack and test

./build.sh
./pack.sh

You can also build a compiled linux executable with ./build-linux.sh and a docker image with ./build-docker.sh

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •