In this lesson, we are going over how to generate a RedwoodJS
project.
We can create a RedwoodJS
project with yarn create redwood-app ./my-redwood-project
.
yarn
will generate the RedwoodJS
app in the file folder you specified without installing any globals.
To run the RedwoodJS
app, we use yarn redwood dev
. This runs the Redwood client as well as the GraphQL
backend.
Ian Jones: [0:00] First you need to make sure your Node version is 12. We're going to run yarn create redwood-app and then the folder that we want Redwood to create the app in, so ./my-redwood-project.
[0:25] Now that we're done, we'll open the sidebar and we'll see that this directory has been created. Redwood has generated all of these files.
[0:35] First, we're going to cd into my-redwood-project. To run a Redwood project, we can run yarn redwood dev. When you hop over to your browser, you'll see that Redwood is running on port 8910.
Member comments are a way for members to communicate, interact, and ask questions about a lesson.
The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io
Be on-Topic
Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.
Avoid meta-discussion
Code Problems?
Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context
Details and Context
Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!