At the Boston hackathon, quite a few folks didn't follow the readme and just cloned this repo instead of running stellar scaffold init. Then, when running npm start, they didn't have the Stellar CLI so the command failed (not to mention Docker or the Scaffold plugin).
Proposed Fix
- Add a
prestart script to package.json that runs a Node script
- The Node script can check for the existence of Stellar CLI, Scaffold Stellar CLI, and Docker and prompt the user to install them
- It can also ensure the Docker daemon is running
This can even be helpful for people who ran the init command if their environment has changed in any way.