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 NixTo run the project:
wini run # By default, starts on port 3000After 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 pageAfter 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-prodWini 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 -lfor a quick recap