This project was presented as final project for the Rails Curriculum. It is a Lifestyle Article where people can apply filters by category and vote on their preferred articles. People can create their own articles and they have a page that suggests articles based on their votes.
Built with Ruby on Rails framework and PostgreSQL database
- Ruby v2.7.0
- Ruby on Rails v5.2.4
To get a local copy up and running follow these simple example steps.
git clone https://github.com/marcelomaidden/capstone_rails_lifestyle_articles.git
cd capstone_rails_lifestyle_articles
Ruby: 2.6.3 Rails: 5.2.3 Postgres: >=9.5
Instal gems with:
bundle install
Setup database with:
rails db:create
rails db:migrate
rails db:seed
This project uses Cloudinary to deploy photos.
Please, add your cloudinary.yml
to config folder
Start server with:
rails server
Open http://localhost:3000/
in your browser.
rpsec --format documentation
In order to deploy this app to Heroku follow the steps below
Install the Heroku CLI available here
After that type the command to create the app and add the heroku repository to your project
heroku create
Then deploy the app.
git push -u heroku {you-branch}:master
Change {your-branch} for the name of your local branch
Follow the instructions on your terminal to get the URL where your app was deployed
Finally run the command to create your database and tables on Heroku's server
heroku run rails db:migrate
heroku run rails db:seed
👤 Marcelo Fernandes
- GitHub: @marcelomaidden
- Twitter: @marcelomaidden
- LinkedIn: Marcelo Fernandes
- Nelson Sakwa
- All websites where I found images and text for the articles
- Font Awesome
- W3schools
- Twitter Boostrap
- Cloudinary
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!