Giter Club home page Giter Club logo

checkout's Introduction

This project is moving into beta. Most things work now. Functionality is a little sparse and awkward in spots. File feature reqeusts if there's something you'd like added/changed/removed.

Installation

Prerequisites

  • Ruby 1.9.2 (or higher)
  • Ruby Gems
    • rake
    • bundler
  • A Rails-compatible SQL database
    • PostgreSQL (recommended)
    • MySql (works ok, too)

Quick Start

Get the code either by downloading a zip file of the latest code, or cloning the git repository using git.

Clone the repository:

$ git clone git://github.com/jamezilla/Checkout.git

Install all the ruby gem dependencies:

$ cd Checkout
$ bundle install

Configure your config/database.yml file so it connects to your preferred database. Consult the Rails database guide if this stuff is unfamiliar.

Set up the database:

$ rake db:setup
$ rake db:migrate

Run the web server:

$ rails s

Browse to http://localhost:3000. The default login is admin with a password of password. You should change this immediately on the account settings page!

dBx Data Migration

Grab a SQL dump of dbx2 and drop it into the db directory. Rename the file so it starts with dbx and ends with .sql (e.g. dbx2_dump_20120912.sql).

Run the dbx reload rake task.

$ rake dbx:reload

Run the dbx:migrate rake task to migrate the data from the restored dbx2 database to the checkout database:

$ rake dbx:migrate

Note: the migration is handled by the following 2 files:

  • lib/tasks/legacy_classes.rb
  • lib/tasks/legacy_migration.rake

checkout's People

Contributors

jamezilla avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.