Summary
Lecture Summary: Installing Sails and Generating a Project
In this lecture, we learn how to install Sails and generate a new project. Here's a summary of the key points:
-
Open the Terminal: Begin by opening your terminal.
-
Check Node Installation: Ensure that Node.js is installed. The speaker is using Node version 6.11 and npm version 3.
-
Install Sails Globally: Use the command:
npm install -g sails
This command installs Sails globally on your machine.
-
Sails Version: The lecture focuses on Sails version 0.12. For more information, you can visit:
-
Ignore Warnings: While installing, you might encounter warnings, but they can be ignored.
-
Generate a New Project: After Sails is installed, create a new project using:
sails new sails-quickstart
This command generates a new Sails application named "sails-quickstart."
-
Navigate to the Project Directory: Change directories to your newly created project:
cd sails-quickstart
-
Next Steps: The next lecture will cover an overview of the application structure for a Sails app.
This concludes the lecture on installing Sails and creating a new project.