Cloud Function which authorizes Object Storage operations for the Document Management app.
- Python 3.10 or higher (Functions are run in production with Python 3.10).
- zip for building a bundle.
- curl for deploying to IXON Cloud.
- Docker for setting up a DocumentDB for development
To get started, download this project as a ZIP, and extract it to your desired location.
To run the project, no additional commands are required, as this is automatically sets up your virtual environment and installs dependencies.
HTTP_SERVER_BIND="0.0.0.0" make run
The deployment of the Document Management App is handled mostly via Gitlab CI. After tagging a release,
run the manual deploy
job. This job requires the IXON_API_ACCESS_TOKEN
to be set to
an IXON API access token secret which can upload the cloud function to the IXON Sector
Component Owner company (4094-4607-2800-7692-6007
).
Some other commands that may come in handy.
This commands sets up your virtual python environment without starting the ixoncdkingress.
make py-venv-dev
This commands cleans up your virtual python environment setup for this project.
make py-distclean