ContributingDevelopment setup
Deploy an example
Two variables point the CLI at your development server. Then you deploy an example app.
Two variables give the address of the server and the server token to the CLI.
1 / 3
Point the CLI at the server
export FERRY_SERVER=http://127.0.0.1:7878
export FERRY_TOKEN="$(cat ferry-data/api_token)"The two variables do not change the config that ferry login saved for your usual server.
Deploy the example
cd examples/node-hello
../../target/debug/ferry up --follow--follow shows the log until the deploy is live.
Call the app
curl http://node-hello.localhost:8080The app answers with a line that starts with Hello from Ferry (node)!.
The server token works without an account. You do not approve a login in the dashboard.
cargo run -p ferry-cli -- <args> works too.