Hi folks, it'll save us a ton of config/setup time at the beginning if you can get a few things set up and downloaded before the class.
So, if at all possible try to get the following things working before the workshop. If you have trouble, it's not a huge deal, it'll just save us some time.
- node.js and npm installed (version 0.10 or newer should be fine)
- some kind of terminal or command prompt where you can run commands
- a text editor of your choice. I'll be using Sublime Text but most any will do.
- A free account on GitHub.com with at least one "repo" in it. If you don't have one create one here and then follow instructions to create a repo. It doesn't even have to have anything in it, just needs to exist.
- a browser, yup... duh :)
If you already have node.js, npm, and git installed you should be able to get the app in this repo running by executing the following commands in your terminal:
git clone https://github.com/HenrikJoreteg/masters.git
cd masters
npm install
npm start
Some of those steps will take some time, but be patient. If at the end of that you open a browser to: http://localhost:3000 and see the text "Hello Frontend Masters!" you're ready for the workshop.
Worry not! We'll sort it out.
- If you're not familiar with git, you don't actually need it for the class, you can simply download and unzip this project.
- If you don't already have Node.js installed, please download and run the installer by clicking the Install button on the Node.js homepage. This will install both node and npm. If you already have Node.js installed type
node --version
in your terminal or command prompt and verify you're on version 0.10 or above.
Now open a terminal or command prompt and cd
to the root of the directory where you cloned this project and try running: npm install
You should see a spinner and then when it's done downloading, a list of things it installed.
Now run npm start
, this will start the development server (it won't finish it'll just keep running). Then open http://localhost:3000 in a browser if you see a message that says: "Hello Frontend Masters!" you're ready.