https://linen.dev logo
Help for contributing
# help
a
I'm trying to follow the contributing guidelines... First problem, I have error installing it
cargo install cargo-shuttle
on my mac m1 (on linux seems working well) (logs attached) Another problem that I have is this, I thought to contributing without installing it, at point of "prime gateway database..." I get
Copy code
āÆ docker compose --file docker-compose.rendered.yml --project-name shuttle-dev exec gateway /usr/local/bin/service --state=/var/lib/shuttle/gateway.sqlite init --name admin --key test-key
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Database(SqliteError { code: 14, message: "unable to open database file" })', gateway/src/main.rs:54:47
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Don't sure about what is my problem... I would see a deploy working locally just for contributing šŸ™‚
k
Oh, sorry, I fixed this in my PR but that isn't merged yet 🤦 The state arg should just be this now:
--state=/var/lib/shuttle
, since this line was changed in #471:
Would you mind fixing this in your
contributing.md
pr?
It should also be done here:
a
Let me try in some minutes šŸ™‚ if it works I will open a PR for this