Please follow the installation steps and the development workflow to run the app. Or follow these steps to get it up and running quickly.
npm install
npm start
0. Before doing any of this, if you're using your own laptop/desktop, make sure you've got the latest versions of node and npm installed (npm v: 4.0.5 & node v: 7.4.0) :
node -v
npm -v
1. Install the dependencies :
npm install
4. Start a live-reload development server :
npm run dev
This is a full web server for your project. Any time you make changes within the
src
directory, it will rebuild and even refresh your browser.
5. Generate a production build in ./build
:
npm run build
6. Start local production server with serve:
npm start
This simply serves up the contents of
./build
. Bear in mind, if you use this, the localhost port your server is running on will refresh, and you'll also need to restart it to see any changes you've made to the code insrc
.