/students_blog3

Rails AJAX independent project

Primary LanguageRuby

STUDENTS BLOG - INDEPENDENT PROJECT

By Bang Nguyen

This app allows users to sign up and post an article or a writing on the homepage and other users can comment on it.

Installation

In the terminal, run the following commands:

  • Repo clone to your local computer
git clone url of the repository
  • System dependencies
bundle install
  • Database creation - Create test and development databases
$ rails db:create
$ rails db:migrate
$ rails db:test:prepare
  • In a new terminal, start the postgres server:
$ postgres
  • How to run the test suite

  • How to start the rails server

Start

$ rails server

View the default page served by navigating to:

localhost:3000