Setup
This page explains how to get a full developper environment. It either can be installed via bash or direnv.
Quickstart
Install from git
Everything starts with:
If you forgot the --recurse-submodules
, you can do from inside the git repo:
The you will have to setup a python virtual environment, and install project dependencies
With Bash script
Each time you get into the project, you will have to source the project:
This basically source into your shell everything that is required to have a working development environment. Be aware that the first run may take quite a long time. You wil have to source this file each time you enter in the project.
With direnv
If you already have a working direnv
setup, then review .envrc
and enable it, otherwize skip to the next section:
Completion support
There is no support for completion within direnv
, to enable completion
simply source arctivate again: . ./scripts/activate.sh
Other actions
You can get a list of available commands:
For more details, please check out paasify workflow.
Implementation details
Paasify project follow the scripts-to-rule-them-all standard.
Install project build dependencies
Once task is installed, it will take care of the rest to do:
After few minutes, it will have done:
- Install or upgrade poetry
- Install project dependencies and dev dependencies.
You have now a fully working environment, but paasify
is not available yet.
When to run this command?
You may need to run this command again if you added or modified project dependencies
Install paasify
Install paasify itself:
!!! info: when to run ?
You may need to run this command again if you modified paasify script entry-points. Basically this one only run poetry install --only-root
.