This project is based on a lifestyle articles website and is for Ruby on Rails capstone at Microverse. I have followed the given design, and I chose to develop this app for articles on women's lifestyles with 'Ruby on Rails". A new article can be created under one or multiple categories. You can upvote an article. The most voted article will be displayed on the home page's top section.
- Ruby v2.7.0
- Ruby on Rails 6.0.3
- Bootstrap 4
- Rspec
- Capybara
- rubocop
- heroku
To get a local copy up and running follow these simple example steps.
Ruby: 2.7.0 Rails: 6.0.3
Setup
- Clone this repository with
https://github.com/enkog/Lifestyle_app.git
using your terminal or command line. - Change to the project directory by entering
cd Lifestyle_app
in the terminal - Next run
bundle install
to install the necessary dependencies - run
rails db:create
- Run
rails db:migrate
to setup your local database. - Run
rails db:seed
to get seeded data for project. - Run
sudo service postgresql start
to start the database service. - Finally run
rails s
to start the application.
Start server with:
rails s
Open http://localhost:3000/
in your browser.
for test formatting add below script in .rspec file
rpsec --format documentation
To run all the tests run below script in the terminal
rspec
👤 Oguadinma Nkiruka Ngozika
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
https://www.behance.net/gallery/14554909/liFEsTlye-Mobile-version
Design idea by Nelson Sakwa on Behance
Stock images from unsplash.com
Article content ideas from https://camillestyles.com/