π RoR blog website / API. fully functional website that list posts to empower readers to interact with them by adding comments and liking them.
MIT License
The Blog app is an example of a blog website. A fully functional website that will show the list of posts and empower readers to interact with them by adding comments and liking posts.
It can also be used from other applications through the API endpoints.
devise
.cancancan
.To get a local copy up and running, follow these steps.
To run this project you need:
Clone this repository to your desired folder:
Example commands:
cd my-folder
git clone [email protected]:ITurres/blog_app.git
cd my-folder
git clone https://github.com/ITurres/blog_app.git
cd my-folder
gh repo clone ITurres/blog_app
Go to the project directory:
cd blog_app
Before running the program, verify that you have Ruby on Rails installed on your OS by running the following command:
rails --version
It should show you the version of Ruby On Rails ββinstalled. If this does not happen and only an error message is displayed, you should verify your installation or install Ruby on Rails from scratch.
Download and Install Ruby on Rails
Once you have verified that you have Ruby on Rails installed, run the following command to install the necessary gems:
bundle install
After installing the gems, run the following command to create the database:
rails db:create
Then run the following command to migrate the database:
rails db:migrate
If you want to populate the database with sample data, run the following command:
rails db:seed
Run the following command inside the project folder to start the application:
rails s
This will start the application on your local server. You can now open your browser and go to http://localhost:3000/ to see the application running.
To execute the tests, run the following command inside the project folder (root):
bundle exec rspec
π€ Arthur Iturres
π€ Demes Ameneshoa
Devise
.CanCanCan
).Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a β if you liked this project!
I thank the Code Reviewers for their advice and time, and to @demesameneshoa, who has been a great and professional teammate π
This project is MIT licensed.