Skip to content

Provide setup script for people who clone this repo #117

@zachfedor

Description

@zachfedor

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

  1. Add a prestart script to package.json that runs a Node script
  2. The Node script can check for the existence of Stellar CLI, Scaffold Stellar CLI, and Docker and prompt the user to install them
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions