Be sure that you have installed:
[email protected]
->$ sudo npm install n -g && sudo n 5.7.0
- yarnpkg
ruby-2.3.1
Terminal:
$ git clone [email protected]:Ch-Valentine/rails-react-redux-boilerplate.git
$ cd rails-react-redux-boilerplate
or you can rename this project and change the git repo:
$ git clone [email protected]:Ch-Valentine/rails-react-redux-boilerplate.git --origin rails-react-redux-boilerplate your-project-name
$ cd your-project-name
$ ./bin/rename_project YourProjectName
$ ./bin/reset_git https://github.com/yourusername/your-project-name.git
then:
$ bundle install
$ npm run yarn
or$ cd app/frontend && yarn
$ rails s
$ npm start
or$ npm run build
in production- open http://localhost:3000/
- Try to change the
app/frontend/src/components/AppTitle/
(index.jsx
orstyle.scss
) - Look on changes without reloading.
$ cd app/frontend
and $ npm i --save [package]
or $ yarn add [package]
- Webpack development and production build.
- React-hot-reload
- Redux dev-tools
- yarnpkg
- eslist
- ES6 and ES7 compiler
- request to the Rails
- 404 page
- Split js files for an optimization.
- Include a JS Testing frameworks.
- Upgrade npm dependencies to latest versions.
- Upgrade to ruby and rails latest versions