A Python/GUI Open Source application to turn a Raspberry Pi into a Backup Machine, strait from SD Cards to external HDD's connected to USB ports. The idea of this application is to use a Raspberry Pi with a 3,5" LCD touchscreen display running Debian/Linux OS - Raspberry Pi OS.
Bellow information is intended for the development of the package
Join our Telegram group
-
Fork AlphaCopy to your GitHub account by clicking the
Fork
button. -
Clone the main repository locally.
$ git clone https://github.com/ozzysp/AlphaCopy
$ cd AlphaCopy
- Add your fork as a remote to push your work to. Replace {username} with your username. This names the remote "fork", the default AlphaCopy remote is "origin".
$ git remote add fork https://github.com/{username}/AlphaCopy
- Create and activate a virtualenv.
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip3 install virtualenv
$ virtualenv {virtualenv-name}
$ {virtualenv-name}\Scripts\activate
- Install in editable mode with development dependencies.
$ pip install -r requirements.txt
- Create a branch to identify the issue you would like to work on. If you're submitting a bug or documentation fix, branch off of the latest ".x" branch.
$ git fetch origin
$ git checkout -b your-branch-name origin/1.1.x
If you're submitting a feature addition or change, branch off of the "master" branch.
$ git fetch origin
$ git checkout -b your-branch-name origin/master
-
Using your favorite editor, make your changes, committing as you go.
-
Include tests that cover any code changes you make. Make sure the test fails without your patch. Run the tests as described below.
-
Push your commits to your fork on GitHub and create a pull request. Link to the issue being addressed with fixes #123 in the pull request.
$ git push --set-upstream fork your-branch-name
Run the basic test suite with pytest.
$ pytest