Usage for cargo loco db create
#302
-
First off, big thanks to @kaplanelad for adding this. I do have some questions, however. I was indeed able to get a db by saying:
I noticed it only created the dev environment, but I'm wondering: how would this be done for all environments? What's exactly the usage for this command? Finally, if I write up a bit of documentation on this, can I submit a PR to the website? (I promise this time I won't let this grow stale) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@mateusdeap, you can run with the --environment flag. The create command loads first the configuration from the environment. cargo loco db create --environment test |
Beta Was this translation helpful? Give feedback.
@mateusdeap, you can run with the --environment flag. The create command loads first the configuration from the environment.
When doing
cargo loco db create
-> the default is development. just pass --environment XXX to the commandcargo loco db create --environment test