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
- 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/imran5644/lifestyle-capstone.git
cd lifestyle-capstone
Ruby: 2.6.3 Rails: 5.2.3
bundle exec rake webpacker:install
Install gems with:
bundle install
yarn install --check-files
Setup database with:
rails db:create
rails db:migrate
rails db:seed
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
👤 Imran Yousaf
- GitHub: @imran5644
- Twitter: @imran56444
- LinkedIn: Imran yousaf
- Nelson Sakwa
- All websites where I found images and text for the articles
- Font Awesome
- W3schools
- Twitter Boostrap
Contributions, issues and feature requests are welcome!
Give a ⭐️ if you like this project!!