git clone [email protected]:MaxSultan/react-rails-router-starter.git <ProjectName>in terminal- in terminal run
cd <ProjectName> git remote rm origin- create a new repo and add new origin
- in terminal run 'bundle'
- open project in editor. in config/database.yml cmd f and replace all previous db names with name of current project
- in this case the db name is react-rails-router-starter...
rails db:create db:migrate db:seed- run
rails s -p 3001 - go to http://localhost:3001/api/products and see that the db has been seeded with product data
- in terminal run
cd <ProjectName>/client - in terminal run
yarn - in terminal run
yarn start - go to http://localhost:3000