-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added basic processing of wikitext, instructing the program to ignore…
… links already wikified.
- Loading branch information
Showing
7 changed files
with
289 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
require 'mongrel_cluster/recipes' | ||
|
||
set :application, "weatherinlondon" | ||
set :repository, "https://theweatherinlondon.googlecode.com/svn/trunk/" | ||
|
||
set :user, "sample_user_name" | ||
|
||
# If you aren't deploying to /u/apps/#{application} on the target | ||
# servers (which is the default), you can specify the actual location | ||
# via the :deploy_to variable: | ||
set :deploy_to, "/home/#{user}/#{application}" | ||
|
||
set :deploy_via, :export | ||
|
||
# If you aren't using Subversion to manage your source code, specify | ||
# your SCM below: | ||
# set :scm, :subversion | ||
|
||
#No mongrel cluster available | ||
#set :mongrel_conf, "#{current_path}/config/mongrel_cluster.yml" | ||
|
||
set :symlink_commands, "ln -nfs #{deploy_to}/#{shared_dir}/config/database.yml #{release_path}/config/database.yml" | ||
|
||
role :app, "theweatherinlondon.com" | ||
role :web, "theweatherinlondon.com" | ||
role :db, "theweatherinlondon.com", :primary => true | ||
|
||
#Courtesy of paulhammond.org and also pragmatic deployment, how to deal with database.yml and friends | ||
desc "link in production database credentials, and other similar files" | ||
task :after_update_code do | ||
run "#{symlink_commands}" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html | ||
one: | ||
|
||
Maria Theresa of Austria: | ||
id: 1 | ||
two: | ||
uri: http://af.uncyclopedia.wikia.com/wiki/Maria_Theresa_of_Austria | ||
title: Maria Theresa of Austria | ||
repository_id: 1 | ||
|
||
Maria Theresa: | ||
id: 2 | ||
uri: http://af.uncyclopedia.wikia.com/wiki/Maria_Theresa | ||
title: Maria Theresa | ||
repository_id: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html | ||
|
||
# one: | ||
# column: value | ||
# | ||
# two: | ||
# column: value | ||
#An uncyclopedia language that does not yet exist | ||
Afrikaans_uncyclopedia: | ||
id: 1 | ||
abbreviation: af-uncyclopedia | ||
short_description: "Afrikaans Uncyclopedia" |
Oops, something went wrong.