Rails 5 Blog MVC project
- Clone project (
git clone git@github.com:anthony-robin/BlogMVC.git) - Go to project folder (
cd BlogMVC) - Run setup script (
bin/setup)
It is recommended to use Foreman to run the differents processes:
$ gem install foreman
$ foreman startThis will execute the rails server, the webpack assets compiler and watcher and maildev (npm plugin to intercept emails in local)
Documentation is handled by yard. To have a look at the documentation run yard server in a terminal and visit http://localhost:8808.
This project comes with a set of rspec tests. To run them:
$ bin/rspecTo execute rubocop linter:
$ bin/rubocopThe javaScript linter (through yarn script):
$ bin/yarn run eslintThe sass linter (through yarn script as well):
$ bin/yarn run sasslint- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Ensure
specsandlintersturn greens - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request