Server for hosting for your Pijul projects written in Rust.
ROCKET_SECRET_KEYcontains the cookie encryption key, and must be set too.
REPOSITORY_ROOTwill be used as storage root for repositories, and must be supplied
This project uses nix to ensure dependencies are met and the development environments are reproducable. Please install Nix by following the install instructions.
nix-shell is in your
nix-shell. Nix will download and
manage dependencies for you. Nix will also start a postgresql server and initiate
To start the server run:
This project uses
sqlx to integrate with the database. Migrations are run when
Rocket lifts off (boots its runtime).
Generating a new migrations is done by running:
sqlx migrate add -r <description>.
Note both an up and down migration are required.
pijul initto start a repository
rm -rf .gitif tooling already created a Git repository
mv .gitignore .ignoreto ignore local only files
[author] name = "<alias or short name>" full_name = "<full name>" email = "<email address>"
For MacOs write it to: