forked from drhenner/ror_ecommerce
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bulk commit, how bout that for rails rumble lol
- Loading branch information
David Henner
committed
Oct 17, 2010
1 parent
afd16b3
commit 42c4f8e
Showing
870 changed files
with
53,230 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[submodule "public/javascripts/jquery-ujs"] | ||
path = public/javascripts/jquery-ujs | ||
url = git://github.com/rails/jquery-ujs.git | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--colour | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
source 'http://rubygems.org' | ||
|
||
## Bundle rails: | ||
gem 'rails', '3.0.0' | ||
|
||
gem "activemerchant", '1.7.2'#, :lib => 'active_merchant' | ||
gem 'acts_as_tree', :git => 'git://github.com/parasew/acts_as_tree.git' | ||
gem 'authlogic', "2.1.5" | ||
gem 'cancan'#, '1.3.2' | ||
gem 'compass', ">= 0.10.5" | ||
|
||
gem 'fancy-buttons' | ||
gem "friendly_id", "~> 3.0" | ||
gem 'formtastic', "~> 1.1.0"# :git => 'git://github.com/justinfrench/formtastic.git', :branch => "rails3" | ||
gem 'haml', ">= 3.0.13"#, ">= 3.0.4"#, "2.2.21"#, | ||
gem "jquery-rails" | ||
|
||
## require 'riak-sessions' | ||
#gem 'curb' # Faster HTTP | ||
#gem 'yajl-ruby' # Faster JSON | ||
#gem 'riak-client', :require => 'riak' | ||
#gem 'ripple' | ||
#gem 'riak-sessions' | ||
|
||
gem 'dalli' | ||
|
||
gem 'nokogiri' | ||
gem 'memcache-client' | ||
#gem 'mysql2' | ||
gem 'ruby-mysql' | ||
#gem "nifty-generators" | ||
gem 'paperclip' | ||
gem 'prawn' | ||
|
||
gem 'rails3-generators' | ||
gem 'rmagick', :require => 'RMagick' | ||
#gem 'sunspot' | ||
gem 'sunspot_rails', '1.2.rc4' | ||
gem 'ssl_requirement' | ||
gem 'state_machine' | ||
gem 'will_paginate', '~> 3.0.pre2' | ||
#gem 'validation_reflection', :branch => "rails-3" | ||
|
||
group :development do | ||
#gem 'awesome_print' | ||
gem "autotest-rails-pure" | ||
gem "autotest-fsevent" | ||
gem "rails-erd" | ||
gem "ruby-debug19" | ||
#gem "ruby-debug" | ||
end | ||
|
||
group :test do | ||
gem 'factory_girl_rails' | ||
gem 'rails3-generators' | ||
gem "rspec-rails", ">= 2.0.0" | ||
gem "rspec", ">= 2.0.0" | ||
|
||
gem "rspec-core", ">= 2.0.0" | ||
gem "rspec-expectations", ">= 2.0.0" | ||
gem "rspec-mocks", ">= 2.0.0" | ||
|
||
#gem "rspec-rails", '>= 2.0.0' #">= 2.0.0.beta" | ||
#gem "machinist", '>= 2.0.0.beta1' #:git => "git://github.com/notahat/machinist.git" | ||
#gem 'machinist', '2.0.0.head', :git => 'git://github.com/notahat/machinist.git', :branch => 'machinist2' | ||
gem "faker" | ||
#gem "ZenTest" | ||
gem "autotest" | ||
gem "autotest-rails-pure" | ||
gem "autotest-fsevent" | ||
gem "autotest-growl" | ||
#gem "redgreen" | ||
#gem "test-unit", "1.2.3"# This is needed to redgreen and ruby 1.9 | ||
|
||
|
||
### THESE ARE ALL FOR CUCUMBER | ||
# gem "webrat" ## USE webrat or capybara NOT BOTH | ||
# gem "capybara" | ||
#gem "capybara-envjs" | ||
# gem "database_cleaner" | ||
# gem "cucumber" | ||
# gem "cucumber-rails" | ||
# gem 'spork' | ||
# gem "launchy" | ||
|
||
gem "ruby-debug19" | ||
#gem "ruby-debug" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,208 @@ | ||
GIT | ||
remote: git://github.com/parasew/acts_as_tree.git | ||
revision: ed52495d1671c99e1add582628403bf8104e9077 | ||
specs: | ||
acts_as_tree (1.2.3) | ||
|
||
GEM | ||
remote: http://rubygems.org/ | ||
specs: | ||
abstract (1.0.0) | ||
actionmailer (3.0.0) | ||
actionpack (= 3.0.0) | ||
mail (~> 2.2.5) | ||
actionpack (3.0.0) | ||
activemodel (= 3.0.0) | ||
activesupport (= 3.0.0) | ||
builder (~> 2.1.2) | ||
erubis (~> 2.6.6) | ||
i18n (~> 0.4.1) | ||
rack (~> 1.2.1) | ||
rack-mount (~> 0.6.12) | ||
rack-test (~> 0.5.4) | ||
tzinfo (~> 0.3.23) | ||
activemerchant (1.7.2) | ||
activesupport (>= 2.3.2) | ||
braintree (>= 2.0.0) | ||
builder (>= 2.0.0) | ||
activemodel (3.0.0) | ||
activesupport (= 3.0.0) | ||
builder (~> 2.1.2) | ||
i18n (~> 0.4.1) | ||
activerecord (3.0.0) | ||
activemodel (= 3.0.0) | ||
activesupport (= 3.0.0) | ||
arel (~> 1.0.0) | ||
tzinfo (~> 0.3.23) | ||
activeresource (3.0.0) | ||
activemodel (= 3.0.0) | ||
activesupport (= 3.0.0) | ||
activesupport (3.0.0) | ||
archive-tar-minitar (0.5.2) | ||
arel (1.0.1) | ||
activesupport (~> 3.0.0) | ||
authlogic (2.1.5) | ||
activesupport | ||
autotest (4.4.1) | ||
autotest-fsevent (0.2.3) | ||
sys-uname | ||
autotest-growl (0.2.6) | ||
autotest-rails-pure (4.1.0) | ||
babosa (0.2.0) | ||
braintree (2.6.1) | ||
builder | ||
builder (2.1.2) | ||
cancan (1.4.0) | ||
columnize (0.3.1) | ||
compass (0.10.5) | ||
haml (>= 3.0.4) | ||
dalli (0.9.9) | ||
diff-lcs (1.1.2) | ||
erubis (2.6.6) | ||
abstract (>= 1.0.0) | ||
escape (0.0.4) | ||
factory_girl (1.3.2) | ||
factory_girl_rails (1.0) | ||
factory_girl (~> 1.3) | ||
rails (>= 3.0.0.beta4) | ||
faker (0.3.1) | ||
fancy-buttons (0.5.5) | ||
compass (>= 0.10.0) | ||
haml (>= 3.0.2) | ||
formtastic (1.1.0) | ||
actionpack (>= 2.3.0) | ||
activesupport (>= 2.3.0) | ||
i18n (>= 0.4.0) | ||
friendly_id (3.1.7) | ||
babosa (~> 0.2.0) | ||
haml (3.0.21) | ||
i18n (0.4.1) | ||
jquery-rails (0.2.2) | ||
rails (~> 3.0) | ||
linecache19 (0.5.11) | ||
ruby_core_source (>= 0.1.4) | ||
mail (2.2.7) | ||
activesupport (>= 2.3.6) | ||
mime-types | ||
treetop (>= 1.4.5) | ||
memcache-client (1.8.5) | ||
mime-types (1.16) | ||
nokogiri (1.4.3.1) | ||
paperclip (2.3.4) | ||
activerecord | ||
activesupport | ||
polyglot (0.3.1) | ||
pr_geohash (1.0.0) | ||
prawn (0.8.4) | ||
prawn-core (>= 0.8.4, < 0.9) | ||
prawn-layout (>= 0.8.4, < 0.9) | ||
prawn-security (>= 0.8.4, < 0.9) | ||
prawn-core (0.8.4) | ||
prawn-layout (0.8.4) | ||
prawn-security (0.8.4) | ||
rack (1.2.1) | ||
rack-mount (0.6.13) | ||
rack (>= 1.0.0) | ||
rack-test (0.5.6) | ||
rack (>= 1.0) | ||
rails (3.0.0) | ||
actionmailer (= 3.0.0) | ||
actionpack (= 3.0.0) | ||
activerecord (= 3.0.0) | ||
activeresource (= 3.0.0) | ||
activesupport (= 3.0.0) | ||
bundler (~> 1.0.0) | ||
railties (= 3.0.0) | ||
rails-erd (0.4.0) | ||
activerecord (~> 3.0) | ||
activesupport (~> 3.0) | ||
ruby-graphviz (~> 0.9.18) | ||
rails3-generators (0.14.0) | ||
railties (3.0.0) | ||
actionpack (= 3.0.0) | ||
activesupport (= 3.0.0) | ||
rake (>= 0.8.4) | ||
thor (~> 0.14.0) | ||
rake (0.8.7) | ||
rmagick (2.13.1) | ||
rsolr (0.12.1) | ||
builder (>= 2.1.2) | ||
rspec (2.0.0) | ||
rspec-core (= 2.0.0) | ||
rspec-expectations (= 2.0.0) | ||
rspec-mocks (= 2.0.0) | ||
rspec-core (2.0.0) | ||
rspec-expectations (2.0.0) | ||
diff-lcs (>= 1.1.2) | ||
rspec-mocks (2.0.0) | ||
rspec-core (= 2.0.0) | ||
rspec-expectations (= 2.0.0) | ||
rspec-rails (2.0.0) | ||
rspec (= 2.0.0) | ||
ruby-debug-base19 (0.11.24) | ||
columnize (>= 0.3.1) | ||
linecache19 (>= 0.5.11) | ||
ruby_core_source (>= 0.1.4) | ||
ruby-debug19 (0.11.6) | ||
columnize (>= 0.3.1) | ||
linecache19 (>= 0.5.11) | ||
ruby-debug-base19 (>= 0.11.19) | ||
ruby-graphviz (0.9.18) | ||
ruby-mysql (2.9.3) | ||
ruby_core_source (0.1.4) | ||
archive-tar-minitar (>= 0.5.2) | ||
ssl_requirement (0.1.0) | ||
state_machine (0.9.4) | ||
sunspot (1.2.rc4) | ||
escape (= 0.0.4) | ||
pr_geohash (~> 1.0) | ||
rsolr (= 0.12.1) | ||
sunspot_rails (1.2.rc4) | ||
sunspot (= 1.2.rc4) | ||
sys-uname (0.8.4) | ||
thor (0.14.3) | ||
treetop (1.4.8) | ||
polyglot (>= 0.3.1) | ||
tzinfo (0.3.23) | ||
will_paginate (3.0.pre2) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
activemerchant (= 1.7.2) | ||
acts_as_tree! | ||
authlogic (= 2.1.5) | ||
autotest | ||
autotest-fsevent | ||
autotest-growl | ||
autotest-rails-pure | ||
cancan | ||
compass (>= 0.10.5) | ||
dalli | ||
factory_girl_rails | ||
faker | ||
fancy-buttons | ||
formtastic (~> 1.1.0) | ||
friendly_id (~> 3.0) | ||
haml (>= 3.0.13) | ||
jquery-rails | ||
memcache-client | ||
nokogiri | ||
paperclip | ||
prawn | ||
rails (= 3.0.0) | ||
rails-erd | ||
rails3-generators | ||
rmagick | ||
rspec (>= 2.0.0) | ||
rspec-core (>= 2.0.0) | ||
rspec-expectations (>= 2.0.0) | ||
rspec-mocks (>= 2.0.0) | ||
rspec-rails (>= 2.0.0) | ||
ruby-debug19 | ||
ruby-mysql | ||
ssl_requirement | ||
state_machine | ||
sunspot_rails (= 1.2.rc4) | ||
will_paginate (~> 3.0.pre2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License | ||
|
||
Copyright (c) 2010 David Henner | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
== Project Overview | ||
|
||
This is the first Rails e-commerce starter app. Other e-commerce projects that | ||
use rails, don't use rails in a standard way. They use engines or are a separate | ||
framework altogether. | ||
|
||
Hadean is designed differently. Hadean is simply a starter application written for | ||
Rails 3. If you understand Rails you will understand Hadean. There is nothing | ||
in this project that you wouldn't see in a normal Rails application. If you don't like | ||
what is in the project just change it like you would in any other Rails app. | ||
|
||
Contributors are welcome. For now email David Henner (drhenner@yahoo.com) to see how you | ||
can contribute. (send your patch if you have one.) Soon there will be a bug tracking | ||
system and a formal way to submit your patch. | ||
|
||
We will always need help with UI, Documentation and code so feel free to help. | ||
|
||
== Getting Started | ||
|
||
Configure your database.yml file (add the development and test database) | ||
|
||
1. Go into config/initializers/setting and change the encryption code | ||
2. rake db:migrate | ||
3. rake db:seed | ||
4. rake db:test:prepare | ||
|
||
5. git submodule init | ||
6. git submodule update | ||
7. gem install compass | ||
8. gem install fancy-buttons | ||
|
||
######compass install -r fancy-buttons -f fancy-buttons | ||
|
||
# Time to start solr and memcache(yep you better install them) | ||
rake sunspot:solr:start | ||
## Take a look at setting up solr | ||
## http://github.com/outoftime/sunspot/wiki/adding-sunspot-search-to-rails-in-5-minutes-or-less | ||
|
||
memcached --vv ## you can config many other cache stores but | ||
## the cookie store will not work (in the admin) and the DB session store will be a dog | ||
|
||
Open config/config.yml and change the encryption key and paypal or auth.net information | ||
|
||
|
||
Once everything is setup, start up the server and direct it to | ||
admin/overviews | ||
|
||
write down the username/password and follow the directions. | ||
|
||
|
||
FYI: | ||
|
||
Shipping categories are categories based off price: | ||
|
||
you might have two shipping categories (light items) & (heavy items) | ||
Have fun!!! | ||
|
||
I personally want to thank some people I don't even know. | ||
Ryan Bates and Greg Pollack, I have learned way too much from you 2 | ||
it would only be right to give some thanks | ||
|
||
I'd also like to Thank one person that I do know. | ||
Umang Chouhan I've learned a lot from you also. | ||
(even if I do have to filter out some of what you say. LOL) |
Oops, something went wrong.