Permalink
Browse files

Created and added the swfobject javascript and set up nice css. Also …

…added capfiles
  • Loading branch information...
fergusbarker committed Mar 15, 2012
1 parent ed5e0dd commit d710b1a4287549637302c901a5892f159fbb8054
View
@@ -0,0 +1,5 @@
+load 'deploy'
+# Uncomment if you are using Rails' asset pipeline
+ # load 'deploy/assets'
+Dir['vendor/gems/*/recipes/*.rb','vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
+load 'config/deploy' # remove this line to skip loading any of the default tasks
View
@@ -36,7 +36,7 @@ end
# gem 'unicorn'
# Deploy with Capistrano
-# gem 'capistrano'
+ gem 'capistrano'
# To use debugger
# gem 'ruby-debug19', :require => 'ruby-debug'
View
@@ -30,6 +30,12 @@ GEM
multi_json (~> 1.0)
arel (3.0.2)
builder (3.0.0)
+ capistrano (2.11.2)
+ highline
+ net-scp (>= 1.0.0)
+ net-sftp (>= 2.0.0)
+ net-ssh (>= 2.0.14)
+ net-ssh-gateway (>= 1.1.0)
coffee-rails (3.2.2)
coffee-script (>= 2.2.0)
railties (~> 3.2.0)
@@ -41,6 +47,7 @@ GEM
erubis (2.7.0)
execjs (1.3.0)
multi_json (~> 1.0)
+ highline (1.6.11)
hike (1.2.1)
i18n (0.6.0)
journey (1.0.3)
@@ -55,6 +62,13 @@ GEM
treetop (~> 1.4.8)
mime-types (1.17.2)
multi_json (1.1.0)
+ net-scp (1.0.4)
+ net-ssh (>= 1.99.1)
+ net-sftp (2.0.5)
+ net-ssh (>= 2.0.9)
+ net-ssh (2.3.0)
+ net-ssh-gateway (1.1.0)
+ net-ssh (>= 1.99.1)
polyglot (0.3.3)
rack (1.4.1)
rack-cache (1.1)
@@ -120,6 +134,7 @@ PLATFORMS
ruby
DEPENDENCIES
+ capistrano
coffee-rails (~> 3.2.1)
jquery-rails
rails (= 3.2.1)

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -0,0 +1,33 @@
+html, body {
+ border:0;
+ margin:0;
+ padding:0;
+ background:black;
+ -webkit-font-smoothing:antialiased;
+ -mozilla-font-smoothing:antialiased;
+ font-family: 'Helvetica Neue', Helvetica, Arial;
+ height:100%;
+}
+
+#built_by {
+ position:fixed;
+ bottom:10px;
+ left:10px;
+ color:white;
+ font-size:11px;
+ font-weight:bold;opacity:0.2;
+}
+
+#built_by:hover {
+ opacity:1
+}
+
+#built_by a:link, #built a:visited, #built a:hover {
+ text-shadow:0px 1px 0px black;
+ color:white!important;
+ text-decoration:none
+}
+
+#built_by a:hover{
+ border-bottom:1px solid white
+}
@@ -0,0 +1,9 @@
+<object id="myFlashContent" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width=100% height=100%>
+ <param name="movie" value="ifre.swf" />
+ <!--[if !IE]>-->
+ <object type="application/x-shockwave-flash" data="ifre.swf" width=100% height=100%>
+ <!--<![endif]-->
+ <a href="/go/getflashplayer"> <img src="/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /> </a>
+ <!--[if !IE]>--> </object> <!--<![endif]-->
+</object>
+
@@ -3,9 +3,15 @@
<head>
<title>IFRE</title>
<%= stylesheet_link_tag "application", :media => "all" %>
+ <%= stylesheet_link_tag "custom", :media => "all" %>
<%= javascript_include_tag "application" %>
+ <%= javascript_include_tag "swfobject" %>
+ <script type="text/javascript"> swfobject.registerObject("myFlashContent","9.0.0"); </script>
<%= csrf_meta_tags %>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+
+ <% render 'layouts/swfobject' %>
+
</head>
<body>
@@ -1 +1,2 @@
-<h1>It's Free Real Estate</h1>
+<div id="built_by">It's Free Real Estate. By <a href="https://www.twitter.com/fergusbarker" target="blank">@fergusbarker</a>. Conceptually Tim &amp; Eric</div>
+
View
@@ -0,0 +1,30 @@
+default_run_options[:pty] = true
+set :application, "twit_clone"
+set :repository, "git@github.com:fergusbarker/twit_clone.git"
+
+set :scm, :git
+# Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none`
+
+set :deploy_to, "/var/rails"
+set :user, "serv"
+set :password, "5469726f6e"
+set :branch, "master"
+set :deploy_via, :remote_cache
+
+ssh_options[:port] = 223
+
+role :web, "patriot.dyndns.biz" # Your HTTP server, Apache/etc
+role :app, "patriot.dyndns.biz" # This may be the same as your `Web` server
+role :db, "patriot.dyndns.biz", :primary => true # This is where Rails migrations will run
+
+# if you're still using the script/reaper helper you will need
+# these http://github.com/rails/irs_process_scripts
+
+# If you are using Passenger mod_rails uncomment this:
+ namespace :deploy do
+ task :start do ; end
+ task :stop do ; end
+ task :restart, :roles => :app, :except => { :no_release => true } do
+ run "#{try_sudo} touch #{File.join(current_path,'tmp','restart.txt')}"
+ end
+ end

0 comments on commit d710b1a

Please sign in to comment.