Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.12 KB

README.md

File metadata and controls

47 lines (34 loc) · 1.12 KB

Intro to React + Redux

Setup

Clone the repo:

git clone https://github.com/hyendler/catstagram.git

If you would like to save your work on your own GitHub repo, fork it first, then clone the fork.

Set up your environment

This workshop uses npm 5.1.0 and node v8.11.3. If the start instructions don't run below, you might need to install a new verison of node.

Check what versions of node + npm you are running:

npm -v
node -v

If you are not running npm 5.1.0 and node v8.11.3, install node v8.11.3:

https://nodejs.org/en/download/

Verify you are running the correct versions.

First time starting the repo:

Run:

npm install

Then:

Starting the server:

npm start

To stop the server:

Ctrl + C

Once Webpack has finished building, go to http://localhost:9000/.

Seeing solution files in the browser:

Go to webpack.config.js and follow instructions in the comments to switch out the entry point to in order to see different solutions reflected in the browser. If you change the entry point, you will need to stop and restart the server.