Skip to content

Commit

Permalink
put in some placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
seanhess committed Aug 21, 2009
0 parents commit 0b91ac2
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store
design
3 changes: 3 additions & 0 deletions app/.rsyncignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.git
.DS_Store
log/*
26 changes: 26 additions & 0 deletions app/capfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
set :host, "linode"
set :path, "/var/www/flashlib.org"
role :live, "linode"

desc "Sync"
namespace :deploy do

desc "Sync remote by default"
task :default do
remote.default
end

desc "Update the server's code"
task :update do
`git push origin master`
run 'cd #{path}; git pull origin master'
end

namespace :remote do
desc "Sync the code to the server"
task :default do
`rsync -avz --delete --exclude-from=.rsyncignore "./" "#{host}:#{path}"`
run 'cd #{path}; touch tmp/restart.txt'
end
end
end
Binary file added app/public/images/logo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions app/public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<div style="text-align:center; margin-top:100px; font-family:Arial,Helvetica,sans-serif;">
<p><img src="images/logo.gif"></p>
<p><a href="http://seanhess.lighthouseapp.com/projects/35926-flashlib/milestones/current">Lighthouse</a></p>
</div>
Empty file added app/tmp/restart.txt
Empty file.

0 comments on commit 0b91ac2

Please sign in to comment.