Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add helpful next steps to end of create-redwood-app #114

Closed
peterp opened this issue Feb 14, 2020 · 3 comments · Fixed by #198
Closed

Add helpful next steps to end of create-redwood-app #114

peterp opened this issue Feb 14, 2020 · 3 comments · Fixed by #198
Assignees

Comments

@peterp
Copy link
Contributor

peterp commented Feb 14, 2020

Create shows the following when the command has finished:

Initialized a git repository.

Success! Created MyProject at /Users/peterp/Personal/redwoodjs/MyProject
Inside that directory, you can run several commands:

  yarn start
    Starts the development server.

  yarn build
    Bundles the app into static files for production.

  yarn test
    Starts the test runner.

  yarn eject
    Removes this tool and copies build dependencies, configuration files
    and scripts into the app directory. If you do this, you can’t go back!

We suggest that you begin by typing:

  cd xxx
  yarn start

Happy hacking!
✨  Done in 29.52s.

I think it would be great to point to the tutorial, to mention some commands, and the first steps to get the project working.

@peterp peterp changed the title Add helpful message at end of create-redwood-app script Add helpful next steps to end of create-redwood-app Feb 14, 2020
@thedavidprice
Copy link
Contributor

thedavidprice commented Feb 22, 2020

Also consider:

@thedavidprice
Copy link
Contributor

@peterp I could use some help with this one. (pretty please!)

The state of the art (based on create-react-app) is apparently no fancier than console.log(..) with lots of spaces. Oh, and some chalk() for color. Easy peasy.

However, I'm stuck on two counts:

  1. I can't break out of async hell. No matter what I do within the same file, I'm not able to log messages after Listr does it's thing. They always end up happening during or before list tasks and display all over the place.
  2. I'd like to catch a return from Listr to determine if the tasks were successful and then make the "Success Messages" execute only on successful task. I was attempting to catch Listr STATE observables to do this, but again got stuck in the async nightmare --> my state was always "PENDING". Here's the info on Listr:
    https://github.com/SamVerschueren/listr#observables

This stuff isn't mission-critical right now. So when the dust settles would be great to review over screenshare.

@thedavidprice
Copy link
Contributor

We reverted “git init” in CRA bootstrap. #175 Should add to this list

  • add copy about suggesting “git init"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants