xim0608 / labooks

0 stars 0 forks source link

LaBooks

This is book stock management system. You can import books data from booklog. Introduce slides: Slide Share.

Requirement

Get Start

$ git clone -b master https://github.com/xim0608/labooks.git
$ cd labooks

Set variables in .env file.

$ cp env.example .env

To import your booklog data, export and download your csv from booklog and copy to db/seeds directory.
Before you execute below command, set up mysql user authentication.

$ bundle install
$ bundle exec rake db:setup

rake db:setup command is

  1. creating database and tables
  2. making admin initial user (you must set ENV initial_user_email and pass)
  3. import booklog csv data

Then execute

$ bundle exec rails server