Python script that will clone all repos owned by the user token, private and public, or pull in any updates if the repo is already cloned.
Note: This is meant as a backup, the repos it clones should not be updated as there is nothing in place to handle conflicts or to push up changes
- Copy
example_config.yamlintoapp/and rename it toconfig.yaml - Update
config.yamlwith your keys/settings - See here for generating a github token
- For the pushover api token, a new app will need to be registered here
- Update
Dockerfileanddocker-compose.ymlto reference the local directory the repos will be cloned to - Run the container with
docker-compose up -d
- Install the requirements with
pip install -r requirements.txt - Run with
python app/main.py
- Install docker from package center
- Install git server from package center
- Clone the repo using ssh, more info here
- Follow the setup instructions with docker
- Copy a language file, rename the 2 letter code and translate it, the file can them be specified in
config.yaml