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 4 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 diversityblog363 views
4:02My First Heroku Screencastby francisguison226 views
3:33spree on heroku pt. 3by jaythree03391 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
2:03How to create a blog in www.heroku.comby joshuaadela603 views
3:39los mozos de orcasitasby basilioorcasitas5,125 views
2:55Unix Tip #2 (Bash Prompt)by dneighbo637 views
9:59spree on heroku pt.1by jaythree031,345 views
2:18Screencast of a Web Blogby paulmaverickward137 views
8:02radiant in herokuby dinooz07707 views
3:25My First Heroku Appby eibhrum749 views
6:41Running Java Web Apps on the Cloud with Herokuby jlward4th882 views
4:49Deploying your Rails app with Herokuby cannikinn977 views
9:50PostgreSQL installationby crouzilles3730,546 views
59:54Heroku in the Enterpriseby salesforce266 views
5:03linux/ unix simple commandsby linuxilove36,247 views
1:24Customized Bash Prompts with the PS1 Variableby linuxjournalonline785 views
1:01:53Using Node.js on Herokuby salesforce351 views
- Loading more suggestions...
Link to this comment:
All Comments (0)