The following commands are compatible with just
, so you can also use just
instead of wini
To enter the development environment:
wini env # This requires Nix
To run the project:
wini run # By default, starts on port 3000
After that, you can see the project by looking at localhost:3000
, from your browser or in CLI (curl localhost:3000
) !
To create a new page:
wini new page
After that you can edit ./src/server.rs
to add
.route("/your-page", get(pages::your_page::render))
You can run your application in production by doing:
wini run-prod
Wini commands are just based on just
, so you can look at ./justfile
to see what is run behind the hood, and you can customize it as you wish!
Or you can do
wini -h
# or
wini help
# or
just -l
for a quick recap