-
-
Notifications
You must be signed in to change notification settings - Fork 10
Setup
poetry run usdb_syncer
. Use tox
to test.
If you already have python installed and do not want to change anything, just ensure it is up-to-date. You can skip the rest of this step.
The simplest way of managing python is pyenv. If you are on Linux/Unix/MacOS, install it from there. If you are on windows, use pyenv-win, a windows port of the aforementioned pyenv.
Once pyenv is installed, use pyenv install 3.12
to install python 3.12. Run pyenv global 3.12
to ensure that python 3.12 is set as your standard.
Install poetry if you haven't already. Poetry is used to manage the dependancies of the syncer.
Install git if you haven't already. Git is used to synchronise work on different computers and provides a history of all changes.
- Clone the git repository to your machine:
git clone https://github.com/bohning/usdb_syncer.git
. - Enter the local git repository:
cd usdb_syncer
- Install dependencies with
poetry install
- Run usdb_syncer with
poetry run usdb_syncer
Use tox
in the project folder to test your changes.
Run the qt/pyside designer with poetry run pyside6-designer
. Open and edit the .ui files at ~/src/usdb_syncer_gui/forms
.
Save in the designer, then re-run usdb_syncer. Do not edit the .py files in the forms
directory. These are automatically generated and will be overwritten.
If you want to contribute, see the github docs