Versioning Extension Module for SQLAlchemy
- Python, Flask
- SQLAlchemy
This project uses the following third-party libraries:
- Flask - BSD License
- SQLAlchemy - MIT License
Each library is subject to its own license, and the respective licenses can be found in their repositories.
As of 2024-10-10 in Development
GitHub Pages (https://guides.github.com/features/pages/) are a neat way to document you application/project.
TBD
sql-versioning/
├── sql_versioning - versioning files
└── tests - testing files
To set up the development environment on your local machine, follow these steps:
-
Developer Workstation Requirements/Setup:
- Install Python 3.8+
- Install Poetry
- Install Docker
-
Setup
-
Fork and clone the repository
-
Set to use the local repo for the virtual environment:
poetry config virtualenvs.in-project true
-
Install dependencies:
poetry install
-
-
Running Tests
- To run tests, use:
poetry run pytest
- In rare cases, if the test container doesn't start automatically, you can manually set up the testing database by running:
docker-compose -f tests/docker-compose.yml up -d
- To run tests, use:
TBD
To report bugs/issues/feature requests, please file an issue.
If you would like to contribute, please see our CONTRIBUTING guidelines.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Copyright 2024 Province of British Columbia
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.