Rust Deploy Command
Hello, I'm confused on what deploy command I'm supposed to use with a Rust program, right now I am using private networking with Redis, which means that I need to use a 3 second sleep, but using
cargo run
ignores the building steps work and does all the compiling again. I couldn't find anything in the documentation, so what command should I be using after the sleep?
6b7e97ae-0340-48b2-98ec-5036e4e13479Solution:Jump to solution
the same command that was originally used.
remove any custom commands you may have set and run another build, you will see the start command thats used printed in the build table at the top of the logs.
then you can now set a custom start command just with
sleep 3 &&
as a prefix...3 Replies
Project ID:
6b7e97ae-0340-48b2-98ec-5036e4e13479
Solution
the same command that was originally used.
remove any custom commands you may have set and run another build, you will see the start command thats used printed in the build table at the top of the logs.
then you can now set a custom start command just with
sleep 3 &&
as a prefixthanks!