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.
 
 
 
 
 
 
Jonathan Rosenbaum 50732ce07b Previous doc change not necessary, was running two instances on the same port. 5 years ago
app BikeCsvImporter: add import of brands as a separate step 5 years ago
config Bootstrap 3 setup. 6 years ago
db Fix: user email should be null instead of empty string 6 years ago
doc Fix: db:setup instead of :create/:migrate/:seed 6 years ago
lib BikeCsvImporter: add import of brands as a separate step 5 years ago
log git init 10 years ago
public Adding famfamfam icons for docker w/ symlink 7 years ago
script git init 10 years ago
spec Updated specs to reflect new user email & username behavior 6 years ago
vendor Bike photo upload 6 years ago
.gitignore Fix: file storage to .gitignore 6 years ago
.powrc .powrc for Pow + RVM. 6 years ago
.rspec Update spec, remove turnip, to get tests working 9 years ago
.ruby-gemset Convert .rvmrc to ruby version and gemset 9 years ago
.ruby-version Dockerize! Startup with docker-compose up 7 years ago
Dockerfile Enhance Dockerfile / Fix missing extjs file bug 5 years ago
Gemfile BikeCsvImporter: colorize importer output to highlight individual row statuses 5 years ago
Gemfile.lock BikeCsvImporter: colorize importer output to highlight individual row statuses 5 years ago
Guardfile git init 10 years ago
README.md Fix: db:setup instead of :create/:migrate/:seed 6 years ago
Rakefile Changes needed to run in produciton 9 years ago
config.ru git init 10 years ago
docker-compose.yml Previous doc change not necessary, was running two instances on the same port. 5 years ago
extjs-4.1.1.zip Enhance Dockerfile / Fix missing extjs file bug 5 years ago
install_extjs.rb Dockerize! Startup with docker-compose up 7 years ago
install_famfamfam.rb Adding famfamfam icons for docker w/ symlink 7 years ago

README.md

About

A web application for bicycle collectives to track bicycles, bicycle work history, volunteer hours, volunteer work history, and volunteers currently in the shop.

See a live demo here: http://bikeshed.wvcompletestreets.org/ Thanks @fspc for setting that up!

See an overview video of what the desktop view looks like and how it works here: https://www.youtube.com/watch?v=0-JjM6d9nK4.

Overview/Instructions/Guides

See guides

Developer Setup

  1. These instructions haven't been tested, please provide corrections!
  2. Install Docker Toolbox https://www.docker.com/toolbox
  3. Make sure you have a machine running: docker-machine start default && eval "$(docker-machine env default)"
  4. Execute docker-compose build
  5. Execute docker-compose run web rake db:setup
  6. Execute docker-compose up
  7. If using Docker Toolbox, use docker-machine ip default to get the IP where the server is running.
  8. Test the Rails server is running with by visiting <INSERT IP>:8080 in your browser.

Alternative Dockerfile

See https://github.com/fspc/bikeshed for an alternative docker setup.

Developer Workflow

The project directory should already be mounted inside the container, so you should be able to make live changes. However, since the project is running in the 'web' container, you need to prepend commands with docker-compose run web.

You'll likely want to add the following aliases:

alias dm='docker-machine'
alias dc='docker-compose'
alias dcrw='docker-compose run web'

That way your commands can be shortened to:

dcrw rake routes
dcrw rails console
dcrw rspec

If there's a better way, I'm all ears. Alternatively you could ssh into the machine with dcrw bash.

License

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

Made with ♥ in Baltimore