- Install Python (version >= 3.9) and pip.
- Install the required packages (
pip install -r requirements.txt).
- Create a configuration file, see the Sample Config for an example.
In PyCharm
- Select
flask_app.pyas the primary script. - Specify the above configuration file path as the first argument (parameter).
- Set the following environment variables:
PYTHONUNBUFFERED=1;FLASK_ENV=development
In PyCharm
- Ensure the
Source/Pythondirectory is marked as a source root - Select the
Test/Unittestdirectory to create the PyCharm Unittest run config - Modify the working directory parameter to point at the main project root.
- Update the version in the API Specification json
- Update the API Specification link in the Read Me.
- Update the version in python project.
- Add a section for the new version to the Changelog.
- Create a pull request to the
mainbranch. - Create a release with the same version.
- In addition to the source files generated by GitHub, create a
Deployablezip file with the following project files:- The
Script,Source, andWikidirectories. - The
CHANGELOG.md,LICENSE.txt,README.md, andrequirements.txtfiles. - Create a
config.yamlfile from the contents of the Sample Config.
- The
- For a more in-depth explanation of the domain, its resources, and its locations, see Domain Design.