Follow these instructions to configurate a personal access token.
Only permissions needed:
- public_repo
Save the token to a secure location. Click the "Configure SSO" button and "Authorize" if applicable.
cp config.example.json config.json
# Add your GitHub username and token
$EDITOR config.json
# Export the JSON credentials into an environment variable
export CONFIG=$(<config.json)Instructions for POSIX bash/zsh (see here for syntax for other shells):
python3 -m venv env
source env/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt -r dev-requirements.txt
source env/bin/activatePYTHONPATH=hubcap python -m pytestexport ENV=test
./cron.sh# Default value is the `git-tmp` directory within the current working directory
# This directory will be deleted by default at the end of the run
export GIT_TMP=git-tmp
Preserve commits/build artifacts within the $GIT_TMP directory
export ENV=test
./cron.sh --no-cleanup
WARNING: Use with caution -- will modify state.
export ENV=prod
./cron.sh