kjarrio / AlphaCopy

A Raspberry Pi BackUp application in Python GUI Open Source

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Screen Shot 2022-02-23 at 17 57 44

ezgif-5-a07673d05f

AlphaCopy

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.

Contributing

Bellow information is intended for the development of the package

Telegram group

Join our Telegram group

First time setup

  • 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.

Linux/Mac

$ python3 -m venv .venv
$ source .venv/bin/activate

Windows

$ pip3 install virtualenv
$ virtualenv {virtualenv-name}
$ {virtualenv-name}\Scripts\activate
  • Install in editable mode with development dependencies.
$ pip install -r requirements.txt

Start coding

  • 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

Running the tests

Run the basic test suite with pytest.

$ pytest

Thank you for your contribution!

About

A Raspberry Pi BackUp application in Python GUI Open Source

License:GNU General Public License v3.0


Languages

Language:Python 100.0%