We will assume that you have already installed Shuttle and logged in. If you haven’t, you should check out our installation section.
Creating your first project
To initialize your project, simply write:
cargo shuttle init
You can then
cd into the folder and try the app locally:
cargo shuttle run
In case you didn’t create the project environment in the
init command, run:
cargo shuttle project start
Then, the app can be deployed with:
cargo shuttle deploy --allow-dirty
--ad allows deploying with uncommitted git changes.
You can also run your project locally for development, check out our local run section.