Skip to content

9trocode/online-bookstore

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Online Bookstore

A database-centric application with features such as user authentication, book search and sorting, book orders, book recommendations, user reviews and ratings, admin panel with monthly sales statistics etc.

System Configuration

This application is built with Ruby (v2.3.1) on Rails (v5.0.0.1). There is a great tutorial on setting up a Ruby on Rails development environment.

Installation

  • Clone the repository to your local environment.
$ git clone https://github.com/esmondchuah/online-bookstore.git
  • Open Terminal and navigate to the cloned repository.
$ cd online-bookstore
  • Install existing gems.
$ bundle install

Database Configuration

  • Download and install PostgreSQL.
  • Create and configure database.yml and secrets.yml files in the config directory. You may refer to the samples provided in that same directory: database.yml.sample and secrets.yml.sample.
  • Turn on your database server.
  • Run the following rake commands in your Terminal.
$ rake db:create
$ rake db:migrate

Launch

$ rails server

About

A database-centric project built with Ruby on Rails and PostgreSQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 69.2%
  • CSS 16.6%
  • HTML 13.7%
  • JavaScript 0.5%