Friday, March 20, 2009

Chapter 47: Sinatra Course #4

  • Views: Did the stuff on page 27 and 28 to add Views to electric-robot-51 and it worked.
  • Now to Layouts: Created layout.erb and copies contents from zip file. (p.29)
  • Then created "public" directory and copies contents (7 files) from zip file .(p.29-30)
  • $ git add . ; $ git commit -m 'committing public files'
    [master]: created edeffeb: "committing public files"
    7 files changed, 117 insertions(+), 0 deletions(-)
    create mode 100644 public/images/Thumbs.db
    create mode 100644 public/images/background.png
    create mode 100644 public/images/background_bottom.gif
    create mode 100644 public/images/background_content.gif
    create mode 100644 public/images/background_top.gif
    create mode 100644 public/images/nw.gif
    create mode 100644 public/stylesheets/style.css
    $ git push heroku master
    Enter passphrase for key '/home/jasnow/.ssh/id_rsa':
    Counting objects: 18, done.
    Compressing objects: 100% (15/15), done.
    Writing objects: 100% (16/16), 4.72 KiB, done.
    Total 16 (delta 4), reused 0 (delta 0)
    -----> Heroku receiving push
    -----> Rack app detected
    Compiled slug size is 0.0MB
    -----> Launching........ done
    To App deployed to Herokugit@heroku.com:electric-robot-51.git
    08779c4..edeffeb master -> master

No comments:

Post a Comment