Skip to content
Browse files

updated README to indicate this is no longer maintained and to point …

…people to the excellent open active democracy fork.
  • Loading branch information...
1 parent 1e19bb6 commit e92598a3afc57f3f9b7970c1b068a467b6994a1c @jgilliam committed
View
101 README.textile
@@ -1,102 +1,7 @@
-NationBuilder is a radical and fun new way to run your country, state, city, neighborhood, corporation or non-profit completely democratically with thousands of people over the internet.
+This project started as "White House 2":http://whitehouse2.org/, where we imagined how the White House could work if it was run completely democratically by thousands of people over the internet. It's coded with Ruby on Rails 2.3.2, and released under the MIT License, the same as Ruby on Rails.
-This project started as "White House 2":http://whitehouse2.org/, but it's now expanding into "NationBuilder":http://nationbuilder.com/ so anyone can use it to run a democracy. You can also see it in action at "Parliament 2":http://parliament2.ca and "Australia 2":http://australia2.org.au/.
-
-My "blog has a bit more on the goals":http://www.jimgilliam.com/2009/05/making-the-future/, and we're using NationBuilder to set the priorities for the NationBuilder software at "Feedback Nation":http://run.nationbuilder.com/.
-
-NationBuilder is coded with Ruby on Rails 2.3.2, and released under the MIT License, the same as Ruby on Rails.
+This code is no longer maintained, but there is an excellent fork called "Open Active Democracy":http://github.com/rbjarnason/open-active-democracy from @rbjarnason
Jim Gilliam
"http://www.jimgilliam.com/":http://www.jimgilliam.com/
-"http://twitter.com/jgilliam":http://twitter.com/jgilliam
-
-----
-
-h1. Installation instructions for Heroku
-
-"Heroku":http://heroku.com/ is a unique and very easy to use hosting platform designed specifically for Ruby applications. This is the easiest way to get started.
-
-Create a Heroku account: "http://heroku.com/signup":http://heroku.com/signup
-
-Install the Heroku gem:
-
-<pre><code>sudo gem install heroku</code></pre>
-
-Clone a copy of NationBuilder on your local machine.
-
-<pre><code>git clone git://github.com/jgilliam/nationbuilder.git
-cd nationbuilder
-</code></pre>
-
-Decide the URL you want. At first, your site will live at SITE_NAME.heroku.com. So just decide what you want your SITE_NAME to be and replace that throughout these install instructions. If you have your own domain you want to use, that comes soon.
-
-<pre><code>heroku create SITE_NAME
-git push heroku master
-</code></pre>
-
-You should get an error now from heroku "App crashed during startup, see the crashlog." This just means we need to load the database.
-
-<pre><code>heroku rake db:schema:load
-</code></pre>
-
-If you don't have your own domain yet, you can skip this step. For your own domain, "create a CNAME in your DNS settings":http://docs.heroku.com/custom-domains that points to "proxy.heroku.com". Once that's in, run this:
-
-<pre><code>heroku addons:add custom_domains
-heroku domains:add YOUR_DOMAIN_NAME
-heroku config:add DOMAIN='YOUR_DOMAIN_NAME'
-</code></pre>
-
-If you AREN'T using your own domain, then just run this:
-
-<pre><code>heroku config:add DOMAIN='SITE_NAME.heroku.com'</code></pre>
-
-Now add a few addons. Memcached provides caching, and "Sendgrid":http://sendgrid.com/ is a third party email service that allows you to send emails from a cloud computing service like Heroku.
-
-<pre><code>heroku addons:add memcache:5mb
-heroku addons:add cron:daily
-heroku addons:add sendgrid
-</code></pre>
-
-You need an Amazon S3 account to store graphics, "get that here":http://aws.amazon.com/s3/.
-
-<pre><code>heroku config:add S3_ACCESS_KEY_ID='YOUR ACCESS KEY'
-heroku config:add S3_SECRET_ACCESS_KEY='YOUR SECRET ACCESS KEY'
-</code></pre>
-
-NationBuilder makes extensive use of the DelayedJob plugin, which costs $15/mo from heroku. You can still get up and running and play around without installing DelayedJob, but the rankings will never update and a few features will not work. To install DelayedJob just do this:
-
-<pre><code>heroku addons:add dj
-heroku rake jobs:enqueue
-</code></pre>
-
-Now go to http://SITE_NAME.heroku.com
-
-The first screen will ask you for a few basic things about your nation, and help you create an admin account. Once you're through with that, you'll be ready to go. There are a lot more settings under Settings > Nation Settings. Colors, email templates, etc.
-
-*To enable Facebook integration*:
-
-Go to the Facebook developer application and create a new application. Under "Connect" options, be sure to put the domain you are using. Get the API key and secret key and add it to heroku like this:
-
-<pre><code>heroku config:add FACEBOOK_API_KEY='YOUR API KEY'
-heroku config:add FACEBOOK_SECRET_KEY='YOUR SECRET KEY'
-heroku rake facebook:register_templates
-</code></pre>
-
-*To enable Twitter integration*, you need to "get your API keys here":http://twitter.com/oauth_clients.
-
-<pre><code>heroku config:add TWITTER_KEY='YOUR API KEY'
-heroku config:add TWITTER_SECRET_KEY='YOUR SECRET KEY'
-</code></pre>
-
-For Yahoo mail and Windows Live contact importing, you set the API keys under Settings > Nation Settings > API Keys
-
-*To enable search*:
-
-You need to set up a "Solr server":http://lucene.apache.org/solr/features.html. There are details on this in the "Heroku docs":http://docs.heroku.com/full-text-indexing#solr. Once you have the URL for your Solr server, you can add it to your app like this:
-
-<pre><code>heroku config:add WEBSOLR_URL='http://urlofyoursolrserver/solr'
-heroku restart
-heroku rake solr:reindex
-</code></pre>
-
-Heroku is planning to have a better way of using Solr soon.
+"http://twitter.com/jgilliam":http://twitter.com/jgilliam
View
2 app/models/feed.rb
@@ -17,7 +17,7 @@ def crawl
@response = ''
begin
Timeout::timeout(5) do #times out after 5 seconds
- open(link, "User-Agent" => "Nation Builder",
+ open(link, "User-Agent" => "White House 2",
"From" => Government.current.admin_email,
"Referer" => "http://<%= Government.current.base_url %>/") do |f|
@response = f.read
View
2 app/models/webpage.rb
@@ -50,7 +50,7 @@ def crawl
# open-uri RDoc: http://stdlib.rubyonrails.org/libdoc/open-uri/rdoc/index.html
begin
Timeout::timeout(5) do #times out after 5 seconds
- open(self.url,"User-Agent" => "Nation Builder",
+ open(self.url,"User-Agent" => "White House 2",
"From" => Government.current.admin_email,
"Referer" => "http://#{Government.current.base_url}/") do |f|
self.content_type = f.content_type
View
2 app/views/blurbs/defaults/footer.html.liquid
@@ -1,3 +1,3 @@
-<a href="/">{{government.name}}</a> is built with <a href="http://nationbuilder.com/">NationBuilder</a> and managed by {{government.admin_name}}. Anyone can get involved and set priorities for {{government.target}}. <a href="/signup">Sign up here</a>.
+<a href="/">{{government.name}}</a> is managed by {{government.admin_name}}. Anyone can get involved and set priorities for {{government.target}}. <a href="/signup">Sign up here</a>.
<br/>
More <a href="/about">about the site</a>, our <a href="/about/rules">rules</a>, and strict <a href="/about/privacy">privacy policy</a>. Press inquiries can be addressed to {{government.admin_email | mailto}}.
View
14 app/views/user_mailer/new_nation.html.erb
@@ -1,19 +1,7 @@
Dear <%= @user.login %>,
-Your nation is ready! <%= @govt.homepage_url %>
+Your website is ready! <%= @govt.homepage_url %>
Sign in with the email address and password you supplied.
Once you're signed in, look under "Settings > Nation Settings" to get a feel for what you can change. You can adjust the colors, create categories, name your currency, and customize most of the text and emails sent.
-
-You've also got an account on http://run.nationbuilder.com/, where you can set the priorities for the platform, suggest features, report bugs, and network with our Nation Builders. Just sign in with the same email address and password.
-
-If you have questions, check the FAQ (http://nationbuilder.com/faq) or reply to this email. It will go right into my main email box.
-
-Jim Gilliam
-Founder, NationBuilder
-http://www.jimgilliam.com/
-http://twitter.com/jgilliam
-888-728-4535 / 323-601-1146
-
-P.S. You can always see what my top priorities are here: http://run.nationbuilder.com/users/1-jim-gilliam
View
6 config/locales/general/en.yml
@@ -233,7 +233,7 @@ en:
current: "Here's what it currently looks like:"
destroy: "Restored default {{blurb_name}}"
branches:
- intro: "NationBuilder uses the concept of branches a bit differently than how it works in the U.S. Instead of it being Judiciary, Legislative and Executive, it’s a way to organize constituencies. For example, a corporation might have Management, Employees, Shareholders, Customers, and Partners. A government might have Politicians, Citizens, Employees, Diplomats. <p>The point of branches are to provide checks and balances so no one constituency dominates the agenda. This is the basic reason the framers of the U.S. Constitution created it, so we're keeping that spirit alive.<p>In deciding how to structure your nation, you should consider where the goals of your different constituences diverge. For example, shareholders care primarily about the stock price going up, while customers want more value, and employees want higher salaries. By separating them, it gives you a way to balance different interests and build a strong foundation for your nation.<p>Each branch will have equal weight in the rankings, so if one branch has a thousand members, and another has 2, then those 2 members will have a much bigger impact.<p> It's entirely up to you how you want to use branches, or if you want to use them at all, and keep in mind that a member can only belong to one branch at a time."
+ intro: "We use the concept of branches a bit differently than how it works in the U.S. Instead of it being Judiciary, Legislative and Executive, it’s a way to organize constituencies. For example, a corporation might have Management, Employees, Shareholders, Customers, and Partners. A government might have Politicians, Citizens, Employees, Diplomats. <p>The point of branches are to provide checks and balances so no one constituency dominates the agenda. This is the basic reason the framers of the U.S. Constitution created it, so we're keeping that spirit alive.<p>In deciding how to structure your nation, you should consider where the goals of your different constituences diverge. For example, shareholders care primarily about the stock price going up, while customers want more value, and employees want higher salaries. By separating them, it gives you a way to balance different interests and build a strong foundation for your nation.<p>Each branch will have equal weight in the rankings, so if one branch has a thousand members, and another has 2, then those 2 members will have a much bigger impact.<p> It's entirely up to you how you want to use branches, or if you want to use them at all, and keep in mind that a member can only belong to one branch at a time."
index:
title: "Branches of {{government_name}}"
new:
@@ -733,7 +733,7 @@ en:
facebook: "Invite Facebook friends"
install:
new:
- heading: "Welcome to NationBuilder!"
+ heading: "Welcome to your new nation!"
admin_user:
heading: "Now create your Administrator account"
submit: "Save your account"
@@ -775,7 +775,7 @@ en:
loggedin: "You can be an ambassador too and earn<span class='pc'>5{{currency_short_name}}</span> for each person you recruit. Get started by simply <a href='{{import_url}}'>importing your Google, Yahoo, Windows Live, or Facebook contacts</a>."
twitterers:
title: "Twitterers at {{government_name}}"
- intro: "If you'd like to be added, click this button and follow the Twitter screen to authorize {{government_name}}/NationBuilder."
+ intro: "If you'd like to be added, click this button and follow the Twitter screen to authorize {{government_name}}."
newest:
title: "New members at {{government_name}}"
partners:

0 comments on commit e92598a

Please sign in to comment.
Something went wrong with that request. Please try again.