VulcanJS / vulcanjs-cli

The official cli scaffolding tool for VulcanJS
36 stars 9 forks source link

vulcan start #8

Open SachaG opened 7 years ago

SachaG commented 7 years ago

Like we discussed in the Slack, it'd be great to have a vulcan start command that could be used instead of meteor, meteor run, or the current npm start (which is equivalent to meteor --settings settings.json).

In addition to the --settings flag, it'd be great to use the package_dirs variable to set up local package development.

Maybe when the user sets up the command line for the first time (or creates their first Vulcan project), they could be prompted with something like where would you like to store VulcanJS packages for local development? (default: ~/VulcanJS)?

Once this is done, we'll be able to split the repo in two: VulcanJS/Starter, which will contain the examples but not packages, and VulcanJS/Vulcan which only contains packages (and no .meteor directory). This should make getting started a lot easier without making it too hard to access Vulcan core code either.

SachaG commented 7 years ago

Oh and another requirement for vulcan start would be that it pass on any other flag/variable (--port, MONGO_URL, etc.) to meteor run.

albancrommer commented 7 years ago

Started at #13 with commit 480301b

mechanical-turk commented 7 years ago

implemented & merged.

albancrommer commented 7 years ago

Most of the logic is in 9d9a75b