Installation
This guide will help you set up PySide Demo on your local machine.
Prerequisites
Python 3.9 or higher
Poetry (for dependency management)
PostgreSQL server (for remote synchronization)
Steps
Clone the repository:
git clone https://github.com/yourusername/pyside-demo.git cd pyside-demo
Install dependencies using Poetry:
poetry installInstall pre-commit hooks (optional):
poetry run pre-commit install
Run the application:
poetry run python -m pyside_demo
Configuration
Before running the application, you need to configure the PostgreSQL connection details:
Open
gui.pyLocate the
sync_with_postgresqlmethod in theMainWindowclassUpdate the following variables with your PostgreSQL server details:
host = "your_host"
database = "your_database"
user = "your_username"
password = "your_password"
Troubleshooting
If you encounter any issues during installation, please check the following:
Ensure you have the correct Python version installed
Make sure Poetry is installed and up to date
Check that all required system libraries are installed (e.g., Qt dependencies)
For more detailed troubleshooting, please refer to the project’s GitHub issues or contact the maintainers.