The Blog app will be a classic example of a blog website. Is a functional website that will show the list of posts and empower readers to interact with them by adding comments and liking posts.
The Blog app will be a classic example of a blog website. Is a functional website that will show the list of posts and empower readers to interact with them by adding comments and liking posts.
To use this project you first need to have installed the following:
The version of ruby that is needed for this project is
Once you have installed them, you need to use the following command to clone the repository:
git clone https://github.com/fherrerao/Blog-app.git
Next, use this command to create the databases:
rake db:create
Finally, use the following command to initialize the live server:
./div/dev
Note:
If you need root permissions execute:
chmod u+x bin/dev
And then install the node dependencies with:
npm install
To run all tests use the following command:
rspec spec
or
bundle exec rspec ./spec
To generate test file for model use :
rails generate rspec:model user
For run test models tests use:
bundle exec rspec spec/models
Fernando Herrera
Give a if you like this project!
This project is MIT licensed.