Development
Developing Lorry
The Lorry repository contains everything you need to start hacking on the codebase right away. First ensure that you've followed the instructions for installing Lorry locally.
Although not strictly required installing cargo-watch is suggested since it makes the development workflow easier. Install
it either by your package manager or via cargo install watch
. Additionally
you should ensure that you have podman installed which is the only
supported container platform for running Lorry.
This example uses Gitlab which is the primary software forge supported by Lorry.
# In a seperate terminal pane you can launch Gitlab. This will take a few minutes.
scripts/run_gitlab.sh
# Request an authentication token from Gitlab. Note that you need to wait about
# five minutes before running this since Gitlab will not immediately be ready.
source scripts/request_gitlab_token.sh
# Launch the watch script which will restart Lorry on code changes.
scripts/watch.sh
Writing Documentation
Documentation is managaed with mdbook.
Ensure you have that installed and then run scripts/docs.sh
to launch the
server. Documentation content is located under docs/content/
.
API Documentation
Lorry is not yet available on crates.io however its bleeding edge API documentation can be found here.