Permalink
Browse files

Tweaking Footer

  • Loading branch information...
jcnetdev committed Aug 30, 2008
1 parent e9e18f1 commit 1e3420213b008166dfd4224ef5b4722a6e16f8fa
View
@@ -9,4 +9,5 @@ public/avatars
public/downloads
public/screenshots
public/images/screenshots
-db/restore.sql
+db/restore.sql
+config/sites/*.rb
@@ -1,3 +1,19 @@
+<style type="text/css" media="screen">
+ .delicious-blogbadge-line .url-link
+ {
+ padding-right: 0px;
+ }
+
+ .delicious-blogbadge-line .top-tags-container
+ {
+ display: none;
+ }
+
+ .delicious-blogbadge-line .save-to-link
+ {
+ background-color: #fff;
+ }
+</style>
<script type="text/javascript">
if (typeof window.Delicious == "undefined") window.Delicious = {};
Delicious.BLOGBADGE_DEFAULT_CLASS = 'delicious-blogbadge-line';
View
@@ -1,10 +1,10 @@
# ------------
# APP SPECIFIC SETTINGS
# ------------
-set :application, "opensourcerails"
-set :repository, "git@github.com:jcnetdev/opensourcerails.git"
-set :server_name, "www.opensourcerails.com"
+set :application, "[YOUR APP NAME]"
+set :server_name, "[YOUR APP DOMAIN NAME, e.g. www.opensourcerails.com]"
+set :repository, "git@github.com:jcnetdev/opensourcerails.git"
set :scm, "git"
set :checkout, "export"
set :deploy_via, :remote_cache
@@ -19,6 +19,9 @@
# set the list of folders to symlink on deployment
set :linked_folders, %w[public/screenshots public/downloads]
+set(:app, "srcrails") unless respond_to?(:app)
+
+load File.dirname(__FILE__)+"/sites/#{app}"
set :base_path, "/var/www"
set :deploy_to, "/var/www/production/#{application}"
@@ -96,19 +99,23 @@
# LOCALIZE TASKS
# ===================
after "deploy:update_code", "localize:install_gems"
+after "deploy:update_code", "localize:set_permissions"
after "deploy:update_code", "localize:link_files"
after "deploy:update_code", "localize:link_folders"
after "deploy:update_code", "localize:merge_assets"
-after "deploy:update_code", "localize:set_permissions"
namespace :localize do
-
desc "installs / upgrades gem dependencies "
task :install_gems, :roles => [:app] do
sudo "date"
run "cd #{release_path} && sudo rake RAILS_ENV=production gems:install"
end
-
+
+ desc "setting proper permissions for deploy user"
+ task :set_permissions do
+ sudo "chown -R deploy /var/www/production/#{application}"
+ end
+
desc "create symlinks for files specified in the linked_files array"
task :link_files, :roles => [:app] do
if defined? :linked_files
@@ -143,10 +150,7 @@
end
end
- desc "setting proper permissions for deploy user"
- task :set_permissions do
- sudo "chown -R deploy /var/www/production/#{application}"
- end
+
end
# ===================
@@ -1,3 +1,2 @@
rss_url: "http://feeds.feedburner.com/OpenSourceRails"
-force_all_css: true
enable_throttler: true
View
@@ -0,0 +1 @@
+add in addition site deployment scripts here
@@ -44,13 +44,3 @@
.empty-message
display: none
-
- .delicious-blogbadge-line .url-link
- padding-right: 0px
-
- .delicious-blogbadge-line .top-tags-container
- display: none
-
- .delicious-blogbadge-line .save-to-link
- background-color: #fff
-

0 comments on commit 1e34202

Please sign in to comment.