Skip to content

Files

Latest commit

a280c04 · May 28, 2021

History

History

cookbook-react

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 26, 2020
Feb 17, 2021
Jun 26, 2020
May 28, 2021
Feb 1, 2021
Mar 2, 2021
Feb 1, 2021
Jun 26, 2020
Feb 1, 2021
Apr 19, 2021
Jun 26, 2020
Jun 26, 2020
Jun 26, 2020
May 17, 2021
Apr 30, 2021
Jun 26, 2020
Feb 2, 2021

This project was bootstrapped with REACT-BOOTSTRAP-WOLOX.

Screens

This are the screens you can to choose for your app.

Components

This are the components you can to choose for your app.

Base Styles

BaseStyles

Deploy

npm run deploy environment

Where environment must match with the current branch and environment must have a .env file and a property in the aws.js configuration.

Valid environments are development, stage and master

Example

If you are in development branch:

  • .env.development exists
  • aws.js must have a development property with the keys for the corresponding bucket

Then, run npm run deploy development

Only building

To only build the application in a specific env, run:

npm run build environment

Starting

To start the server by default (development) run:

npm run start

To start a specific environment, run:

npm run start-env environment

Google Analytics

If you chose to add Google Analytics script to your project, then you need to configure the tracking ID. Set it adding REACT_APP_GA_TRACK_ID environment variable and the corresponding ID as value.

// .env.development
REACT_APP_GA_TRACK_ID=AU-9999999-1