Skip to content
Rory Broves edited this page Apr 8, 2019 · 1 revision

App setup:

Install required dependencies npm install

Create db & tables in mysql with knex

in one terminal tab: mysql -u root in another terminal: knex migrate:latest

Seed data into mysql dbs in another terminal: knex seed:run

Run Test

Run a testing framework, Jest, on tests written in "./src/components" npm run test

Run App:

Boot up server and have nodemon restart server on changes npm run server-dev

Start Webpack:

npm run react-dev

Clone this wiki locally