The ubuntu.com codebase is a Flask app, which builds on our own flask-base, templatefinder, blog and search packages.
We use Yarn for building static files like CSS through package.json scripts.
- To run the project simply, you will need to install
dotrun, by following the installation instructions - docker: Docker is used to run the project. You can install it by following the installation instructions
- docker-compose: Docker compose is used to run the Postgres database and the SWIFT server (files server), you can install it by following the installation instructions
- Taskfile: It is used to run everything with a single
taskcommand.
Please make sure you are running the latest version of
Starting the project with all it's services is as simple as
taskThat's it! The project should now be running at http://localhost:8017/manager.
You can stop the project using
task stopPlease checkout Taskfile.yml for all available commands
To generate a new API token, run:
dotrun exec flask token create testTo list all the API tokens, run:
dotrun exec flask token list