All manuals, instructions, documentation and information you need to work with ODTP.
The easier way to deployt this documentation is by using docker. This will create a server that will host the documentation.
docker build -t odtp-docs .
docker run -it --rm -p 8000:8000 odtp-docs
This will serve the documentation in: http://0.0.0.0:8000/odtp-org/
This will create a venv
folder and it will install mkdocs-material
in a local environemnt.
python -m venv venv
source venv/bin/activate
- Run
poetry install --no-root
- Run
poetry shell
In order to create an HTTP server to host the documentation we can use mkdocs serve
. This is useful when developing as it allows you to see the changes in real time.
- Go to the root of this repository.
mkdocs serve
This will start an HTTP server and provide you a link to the page. By default: http://0.0.0.0:8000/odtp-org/
Mkdocs is a tool to create a documentation as a static webpage. In order to produce this page we need to build it using the command mkdocs build
- Go to the root of this repository.
mkdocs build
You can install odtp by using poetry and running:
- Download the repository.
- (Optional) Rename
.env.dist
as.env
and populate it with the right credentials. This is essential if you want to use S3 and MongoDB. - Run
poetry install
- Run
poetry shell
- Run
odtp --help
This should print out the help for odtp
Hint: on a Mac with Apple Chip: change the default shell before you install
env /usr/bin/arch -x86_64 /bin/bash --login