Velocipede's User, Sales, and Bike Inventory Web App
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Jason Denney 06856f115c Merge pull request #52 from spacemunkay/denney-remove-bike-serial-constraint 11 years ago
app Remove unique constraint on bike_serial 11 years ago
config More comments 11 years ago
db Fixing search form for bikes updated to netzke 8.4 11 years ago
doc git init 12 years ago
lib git init 12 years ago
log git init 12 years ago
public adding public/images directory 12 years ago
script git init 12 years ago
spec Merge branch 'master' into denney-new-user-form 12 years ago
vendor git init 12 years ago
.gitignore Switch DB from sqlite to Postgres 12 years ago
.rspec git init 12 years ago
.rvmrc hack night update version change 12 years ago
Gemfile Switch DB from sqlite to Postgres 12 years ago
Gemfile.lock Fixing search form for bikes updated to netzke 8.4 11 years ago
Guardfile git init 12 years ago
README.md Update README.md 12 years ago
Rakefile Changes needed to run in produciton 12 years ago
config.ru git init 12 years ago

README.md

Developer Setup

  1. use rvm
  2. allow the .rvmrc file
  3. gem install bundler
  4. bundle
  5. Install Postgres (Mac OSX instructions below)
  6. rake db:create db:migrate
  7. rake db:seed
  8. Download extJS 4.1 (A version of 4.1 is hosted here: http://my.jasondenney.com/extjs-4.1.1.zip) Latest versions at http://www.sencha.com/products/extjs. Unzip and place where ever you like.
  9. Link to your extJS folder path under public/extjs: (From app root) ln -s /MY/PATH/extjs/ public/extjs
  10. rails s

Postgres 9.2 Mac OSX Install

  1. Install homebrew ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
  2. brew install postgres
  3. First time db initialization initdb /usr/local/var/postgres -E utf8
  4. Start Postgres pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
  5. Create your PG user createuser -d -P velocipede
  6. Create your database createdb -U velocipede --owner=velocipede velocipede
  7. Copy over DB config: cp config/database.yml.example config/database.yml
  8. Update config with your database (velocipede), user (velocipede), and password.

Optional

Add icons

  1. Download icons from http://www.famfamfam.com/lab/icons/silk/
  2. Link to the icons under public/images/icons: (From app root) ln -s /MY/PATH/famfamfam_silk_icons/icons public/images/icons

Mailcatcher

Use mailcatcher to see what emails look like in development. Follow the instructions from http://mailcatcher.me/ to create an rvm wrapper so you don't install it all over your gemsets

License

Velocipede is released under the MIT license (http://opensource.org/licenses/MIT)

Made with ♥ in Baltimore