Uploaded by jaythree03 on Nov 24, 2008
if you find this video useful, please go to arjayorcasitas.com and click donate. thank you!
This is the part 3 of my 4 part screen cast on how I integrate the Spree shopping cart in heroku.
THINGS TO BE IN YOUR MACHINE FIRST BEFORE DOING THE PROJECT:
(GOOGLE IT!)
POSTGRESQL8.3
GIT-1.6.0.2(OPTIONAL)
GIT
RUBY186-27_RC1 OR LATER
RUBYgems 1.3.1 or later
Rails
BEFORE I BEGIN, I WOULD LIKE TO INTRODUCE MY SELF,
I'M ARJAY ORCASITAS, A STUDENT OF DE LA SALLE-COLLEGE OF ST. BENILDE.
NOW LET'S BEGIN THE ACTUAL DEMONSTRATION
OPEN GIT BASH(OR YOUR COMMAND PROMPT. BUT MAKE SURE GIT IS INSTALLED IN YOUR MACHINE)
KEY IN: git clone git://github.com/schof/spree.git spree
then key in rake gems:install
SO SINCE HEROKU HAS IT'S OWN WAY OF DEPLOYING YOUR GEMS, LET'S INSTALL THE
NECESSARY GEMS MANUALLY.
gem install activemerchant
gem install has_many_polymorphs
gem install highline --version 1.4.0
gem install mini_magick
gem install tlsmail
then once you've already installed those gems above, copy them manually.
(C:\Ruby\lib\ruby\gems\1.8\gems) and put them in vendor\gems
once copied, open the the sciTE IDE and open the config\environment.rb and config\boot.rb
you have to change the RAILS_GEM_VERSION = "2.1.2" unless defined? RAILS_GEM_VERSION
to RAILS_GEM_VERSION = "2.1" unless defined? RAILS_GEM_VERSION in config\environment.rb and
load_rails("2.1.2") in line 58 to load_rails("2.1").
gem install postgres-pr
you have to update the database.yml in the config folder. I suggest that you
do it in postgresql configuration because heroku uses postgre.
here's my database.yml configuration:
development:
adapter: postgresql
host: localhost
port: 5432
database: postgres
username: postgres
password: jaythree
after this, key in rake db:bootstrap press enter 3 times
script/plugin install git://github.com/adamwiggins/yaml_db.git
rake db:data:dump
gem install heroku
ssh-add -d enter 3 times
git init
git add .
git commit -m "init"
heroku create existingapp-deploy
git remote add heroku git@heroku.com:existingapp-deploy.git
git push -f heroku
click gear, click rake
key in rake db:data:load
arjayorcasitas.com
spree6.heroku.com
Category:
Tags:
License:
Standard YouTube License
-
0 likes, 0 dislikes
7:13Byron Sebastian - Herokuby diversityblog356 views
5:37spree for heroku pt 4.by jaythree03330 views
10:19Heroku Introby ConnorAlves1,796 views
2:44AD ORCASITAS HOMENAJE A JUAN MENA.wmvby adorcasitas1,039 views
9:42spree on heroku pt2by jaythree03580 views
7:12Importing an app in Herokuby rielaantonio456 views
3:39los mozos de orcasitasby basilioorcasitas5,125 views
2:18Screencast of a Web Blogby paulmaverickward137 views
1:42How to create a database .by TariqDBA4,733 views
4:49Deploying your Rails app with Herokuby cannikinn1,000 views
0:55Ruby On Railsby antoniomtzt172 views
9:59spree on heroku pt.1by jaythree031,337 views
8:02radiant in herokuby dinooz07707 views
6:41Running Java Web Apps on the Cloud with Herokuby jlward4th882 views
2:00orcasitas y puntoby stelishela15,086 views
59:54Heroku in the Enterpriseby salesforce266 views
0:51Ruby on Rails vs Java - Commercial #1 of 9by envyads539,119 views
1:01:53Using Node.js on Herokuby salesforce351 views
21:11Part 4: Herokuby salesforce2,279 views
8:56Oren Teich of Heroku, the Ruby PaaS solutionby DellVlog624 views
- Loading more suggestions...
Link to this comment:
All Comments (0)