Table of Contents generated with DocToc
lena consumer web service
$ brew install node
$ node --version
$ brew install mysql
$ mysql --version
$ brew services start mysql
$ mysql -u <user> -p <password>
mysql> CREATE DATABASE consumer;
mysql> CREATE DATABASE test_consumer;
read the instructions given by the 'brew install python' command we are going to use python2 and pip2 only refer https://docs.brew.sh/Homebrew-and-Python.html
$ brew install python
$
$ python2 --version
$ pip2 --version
$ npm install -g eslint-config-airbnb eslint eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react
$ npm install --save-dev eslint-config-airbnb eslint eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react
$ cat .eslintrc.js
// These rules enforce the Airbnb style guide.
module.exports = {
extends: 'airbnb',
env: { browser: true },
};
$ npm install
$ npm start
$ npm dev-start
$ npm lint
$ npm unit
$ npm test
$ npm coverage