mirror of
				https://github.com/fspc/BikeShed-1.git
				synced 2025-10-31 00:45:35 -04:00 
			
		
		
		
	Leaving the bike_models table and bikes.bike_model_id column as a backup.
Developer Setup
- use rvm
- allow the .rvmrc file
- gem install bundler
- bundle
- Install Postgres (Mac OSX instructions below)
- rake db:create db:migrate
- rake db:seed
- 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.
- Link to your extJS folder path under public/extjs: (From app root)ln -s /MY/PATH/extjs/ public/extjs
- rails s
Postgres 9.2 Mac OSX Install
- Install homebrew ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
- brew install postgres
- First time db initialization initdb /usr/local/var/postgres -E utf8
- Start Postgres pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
- Create your PG user createuser -d -P velocipede
- Create your database createdb -U velocipede --owner=velocipede velocipede
- Copy over DB config:  cp config/database.yml.example config/database.yml
- Update config with your database (velocipede), user (velocipede), and password.
Optional
Add icons
- Download icons from http://www.famfamfam.com/lab/icons/silk/
- 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)
Description
				
					Languages
				
				
								
								
									Ruby
								
								75.7%
							
						
							
								
								
									JavaScript
								
								13.8%
							
						
							
								
								
									Haml
								
								8%
							
						
							
								
								
									HTML
								
								1.5%
							
						
							
								
								
									SCSS
								
								0.6%
							
						
							
								
								
									Other
								
								0.4%