Amrhub / blog-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blog app

Blog app: Authentication

image

This application allows you to post your blog like and comments other blogs sign up and sign in to have more previlages

Built With

  • Ruby on Rails
  • Bootstrap

Live Demo

gitblogie

Getting Started

To get a local copy up and running follow these simple example steps.

Simply click on Code drop down menu should appear then download ZIP after extraction you could follow Usage step

Prerequisites

gems ruby

Setup

Do this step if you didn't download as ZIP, if you did, skip to next step please

to setup the project on your local, run these commands

git clone https://github.com/Amrhub/blog-app

cd blog-app  // to open the project

Install

    bundle install # install dependencies

Usage

To make sure project works as expected create instance file from config/application_example.yml with name "application.yml" with required data in application_example.

    rails db:create # create database
    rails db:migrate # migrate tables
    rails db:seed # load all data in database from seed.rb
    # or use rails db:setup instead of previous three but it will depend on latest version of schema.rb when running

    rails s # start local host
    rails c # to start rails console

Tests

rspec # Run all tests
rspec spec/models # run tests for only models

Authors

👤 Amr Ahmed

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

📝 License

This project is MIT licensed.

About


Languages

Language:Ruby 72.8%Language:HTML 23.4%Language:Batchfile 3.0%Language:CSS 0.8%Language:JavaScript 0.1%