Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 643 Bytes

File metadata and controls

38 lines (24 loc) · 643 Bytes

Quick React Demo

A quick React demo and test. To run from the command line (in this root folder):

1. Install the Node Modules

npm install

2. Create empty /src folders, if they don't exist

mkdir -p src/components src/containers src/contexts src/pages src/utils src/css src/img

3. Run the Webpack test server

npm start

4. Build public files to /dist

Only required when publishing live online.

npm run build

5. Deploy to Netlify

Update the siteId property in .netlify/state.json. Then run the following:

npm run deploy