octopusinvitro / kitepkana

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build status Coverage Status Dependency status Maintainability

Readme

This is a Rails app to manage my digital books. I may add my paper books as well.

How to use this project

This is a Ruby project. Tell your Ruby version manager to set your local Ruby version to the one specified in the Gemfile.

For example, if you are using rbenv:

  1. Install the right Ruby version:
rbenv install < VERSION >
rbenv rehash
  1. Move to the root directory of this project and type:
rbenv local < VERSION >
ruby -v

You will also need to install the bundler gem, which will allow you to install the rest of the dependencies listed in the Gemfile file of this project.

gem install bundler
rbenv rehash

To initialise the project

This project uses Sqlite. Be sure you have it installed in your system before installing the gems. If you don't, type:

sudo apt-get install sqlite3 libsqlite3-dev

Then install all the gems:

bundle install

Run any pending migrations:

bundle exec rake db:setup db:migrate RAILS_ENV=development

Once that's done, start up the application:

bundle exec rails server -u webrick

The application should be available at localhost:3000 now.

To run the tests

Run any pending migrations:

bundle exec rake db:setup db:migrate RAILS_ENV=test

Then run the tests:

bundle exec rake

Dependencies

  • Ruby
  • Rails
  • SQLite

License

License GNU License

About

License:GNU General Public License v2.0


Languages

Language:Ruby 74.6%Language:HTML 15.4%Language:SCSS 10.0%Language:JavaScript 0.1%