Skip to content

Commit

Permalink
deployed!
Browse files Browse the repository at this point in the history
  • Loading branch information
multiscan committed Jul 2, 2013
1 parent 0dc3c7d commit 38d1947
Show file tree
Hide file tree
Showing 7 changed files with 64 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Capfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load 'deploy'
# Uncomment if you are using Rails' asset pipeline
load 'deploy/assets'
load 'config/deploy' # remove this line to skip loading any of the default tasks
load 'deploy/assets'
9 changes: 9 additions & 0 deletions app/views/errors/error_400.html.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
%h2 400
%div
%h3 Forbidden
%p
Sorry but you don't have valid credentials for accessing the data you are requesting.
%p
Want to
%a{href: root_path} go back to our home page
and try again?
8 changes: 8 additions & 0 deletions app/views/errors/error_403.html.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
%h2 403
%h3 We're sorry
%p
The content that you requested could not be found
%p
Want to
%a{href: root_path} go back to our home page
and try again?
10 changes: 10 additions & 0 deletions app/views/errors/error_404.html.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
%h2 404
%h3 We're sorry
%p
The content that you requested could not be found.
%p
You tried to access '#{@not_found_path}', which is not a valid page.
%p
Want to
%a{href: root_path} go back to our home page
and try again?
5 changes: 5 additions & 0 deletions app/views/errors/error_500.html.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
%h2 500
%h3 OOPS!
%p
An error have occurred. We are going to fix this as soon as possible. Please
try again later.
30 changes: 30 additions & 0 deletions app/views/errors/maintenance.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<html>
<head>
<title>Thot Maintenance</title>
<style>
body {
padding: 20px;
background-color: #ddd;
color: rgb(118, 144, 179);
text-align: center;
line-height: 3em;
font-family: Helvetica, Arial, sans-serif;
text-rendering: optimizelegibility;
text-shadow: rgba(255, 255, 255, 0.898438) 0px 1px 0px;
}
#content {
margin-top: 200px;
}
h1, h2 {
color: #38527c;
}
</style>
</head>
<body>
<div id="content">
<h1>Thot</h1>
<h2>is currently down for <%= reason ? reason : "maintenance"%></h2>
<p>We espect to be back <%= deadline ? deadline : "shortly"%>.</p>
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
# ------------------------------------------------------------------------- DEPS
# after 'deploy:finalize_update', 'deploy:make_symlinks'
after 'deploy:update_code', 'deploy:symlink_config_files'

# after 'deploy:symlink_config_files', 'deploy:assets:precompile'
# -------------------------------------------------------------------------- RVM
# set :rvm_ruby_string, ENV['GEM_HOME'].gsub(/.*\//,"")
set :rvm_ruby_string, 'ruby-1.9.3'
Expand Down

0 comments on commit 38d1947

Please sign in to comment.