Redwood is composed of several popular libraries to make full-stack web development easier. Unfortunately, we can't teach all of those technologies from scratch during this tutorial, so we're going to assume you are already familiar with a few core concepts:
Don't panic! You can work through this tutorial without knowing much of anything about these technologies. You may find yourself getting lost in terminology that we don't stop and take the time to explain, but that's okay: just know that the nitty-gritty details of how those technologies work is out there and there will be plenty of time to learn them. As you learn more about them you'll start to see the lines between what Redwood provides on top of the stock implementations of these projects.
You could definitely learn them all at once, but it will be harder to determine where one ends and another begins, which makes it more difficult to find help once you're past the tutorial and want to dive deeper into one technology or another. Our advice? Make it through the tutorial and then start building something on your own! When you find that what you learned in the tutorial doesn't exactly apply to a feature you're trying to build, Google for where you're stuck ("prisma select only some fields") and you'll be an expert in no time. And don't forget our Discourse and Discord where you can get help from the creators of the framework, as well as tons of helpful community members.
You will want to be on at least version 1.0.0 to complete the tutorial. If this is your first time using Redwood then no worries: the latest version will be installed automatically when you create your app skeleton!
If you have an existing site created with a prior version, you'll need to upgrade and (most likely) apply code modifications. Follow this two step process:
- For each version included in your upgrade, follow the "Code Modifications" section of the specific version's Release Notes:
- The upgrade to the latest version. Run the command:
yarn redwood upgrade
Node.js and Yarn Versions
During installation, RedwoodJS checks if your system meets version requirements for Node and Yarn:
- node: ">=14.19 <=16.x"
- yarn: ">=1.15"
If your system versions do not meet both requirements, the installation bootstrap will result in an ERROR. To check, please run the following from your terminal command line:
Please do upgrade accordingly. Then proceed to the Redwood installation when you're ready!
There are many ways to install and manage both Node.js and Yarn. If you're installing for the first time, we recommend the following:
1. Yarn We recommend following the instructions via Yarnpkg.com.
2. Node.js Using the recommended LTS version from Nodejs.org is preferred, as the latest Current version isn't supported.
nvmis a great tool for managing multiple versions of Node on one system. It takes a bit more effort to set up and learn, however. Follow the nvm installation instructions. (Windows users should go to nvm-windows). For Mac users with Homebrew installed, you can alternatively use it to install
nvm. Windows: Recommended Development Setup