<commit_before>= BARD gem

  This immaculate work of engineering genius allows mere mortals to collaborate with beings of transcendent intelligence like Micah, Michael, and Nick.

=== Requirements
    git --version >= 1.6.0

=== Joining Bard

	==== On any platform:
		- gem install gemcutter
		- gem tumble
		- gem install bard

	==== On Linux:

		- Install RubyGems:
			$> wget ...
			$> ...

		- Install Rake:
			$> sudo gem install rake
			( NOTE: the sudo )

		- Install Apache
			$> sudo apt-get install apache2

		- Install Mysql
			$> sudo apt-get install mysql-server
			$> sudo /etc/init.d/mysql start
			( No password for root, if it asks )
			
		- Install Passenger
			$> sudo gem install passenger

			$> sudo apt-get install apache2-prefork-dev as root.
			$> sudo apt-get install libapr1-dev as root.
			$> sudo apt-get install libaprutil1

			$> sudo passenger-install-apache2-module

		- Setup rails environment:
			Add line to /etc/apache2/apache2.conf:
				RailsEnv development
			$> apache2ctl restart
				
	==== On Mac:
		- ???Wtf ? I dunno. eff macs

== Todos

=== Adding Adva to an exising project
	- Git clone latest tagged release from github
	- Set up integration branch on staging
	- Add as submodule 
	- Bard pull will "just work" (tm)

=== Joining an existing project
	bard join will probably either do all these steps automatically, or help you do them:
	This list summarizes the existing steps needed to join a project.

	$> bard join <project-name>

	- Clone the project
		- (git clone <EMAIL>:<project-name>)
		- Init and update submodules

	- Set up local environment:
		- Apache
			Put in /etc/apache2/sites-avaliable/<project-name>:
				<VirtualHost *:80>
					ServerName <project-name>.local
					DocumentRoot $HOME/$BardRoot/<project-name>/public
				</VirtualHost>

			$> a2ensite <project-name>
			$> apache2ctl restart

		- Set up /etc/hosts:
			append this line to /etc/hosts:
				127.0.0.1 <project-name>.local

		- Setup database yaml
			- sensible default:
				login: &login
					adapter: mysql
					database: <project-name>
					username: root
					password:
					socket: /var/run/mysqld/mysqld.sock

				development:
					<<: *login

				test: &TEST
					<<: *login
					database: <project-name>_test

				cucumber:
					<<: *TEST


		- Set up gems:
			$> rake gems:install

		- Set up database
			$> rake db:create
			$> rake db:migrate

		- Set up cap:
			$> capify .
			Add line to Capfile:
				load '../cap.tasks'
			Have cap.tasks.rb in your root work directory (eg. $HOME/work/bard )

		- Seed database from staging
			$> cap data:pull:staging


=== Note on Patches/Pull Requests
 
* Fork the project.
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a
  future version unintentionally.
* Commit, do not mess with rakefile, version, or history.
  (if you want to have your own version, that is fine but
   bump version in a commit by itself I can ignore when I pull)
* Send me a pull request. Bonus points for topic branches.

== Copyright

Copyright (c) 2009 <NAME>, <NAME>. See LICENSE for details.
<commit_msg>edit README.<commit_after>= BARD gem

This is a collection of tools designed to ease collaboration within BOTandROSE design.
It wraps git, capistrano, thor, and rake to make things as simple as:

  bard push
  bard pull

=== Requirements
    git      --version >= 1.6.4
    rubygems --version >= 1.3.4
    ruby     --version == 1.8.7

=== Joining Bard

	==== On any platform:
		- gem install bard

	==== On Linux:

		- Install RubyGems:
			$> wget ...
			$> ...

		- Install Rake:
			$> sudo gem install rake
			( NOTE: the sudo )

		- Install Apache
			$> sudo apt-get install apache2

		- Install Mysql
			$> sudo apt-get install mysql-server
			$> sudo /etc/init.d/mysql start
			( No password for root, if it asks )
			
		- Install Passenger
			$> sudo gem install passenger

			$> sudo apt-get install apache2-prefork-dev as root.
			$> sudo apt-get install libapr1-dev as root.
			$> sudo apt-get install libaprutil1

			$> sudo passenger-install-apache2-module

		- Setup rails environment:
			Add line to /etc/apache2/apache2.conf:
				RailsEnv development
			$> apache2ctl restart
				
	==== On Mac:
		- ???Wtf ? I dunno. eff macs

== Todos

=== Joining an existing project
	bard join will probably either do all these steps automatically, or help you do them:
	This list summarizes the existing steps needed to join a project.

	$> bard join <project-name>

	- Clone the project
		- (git clone <EMAIL>:<project-name>)
		- Init and update submodules

	- Set up local environment:
		- Apache
			Put in /etc/apache2/sites-avaliable/<project-name>:
				<VirtualHost *:80>
					ServerName <project-name>.local
					DocumentRoot $HOME/$BardRoot/<project-name>/public
				</VirtualHost>

			$> a2ensite <project-name>
			$> apache2ctl restart

		- Set up /etc/hosts:
			append this line to /etc/hosts:
				127.0.0.1 <project-name>.local

		- Setup database yaml
			- sensible default:
				login: &login
					adapter: mysql
					database: <project-name>
					username: root
					password:
					socket: /var/run/mysqld/mysqld.sock

				development:
					<<: *login

				test: &TEST
					<<: *login
					database: <project-name>_test

				cucumber:
					<<: *TEST


		- Set up gems:
			$> rake gems:install

		- Set up database
			$> rake db:create
			$> rake db:migrate

		- Seed database from staging or production
			$> bard data

=== Note on Patches/Pull Requests
 
* Fork the project.
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a
  future version unintentionally.
* Commit, do not mess with rakefile, version, or history.
  (if you want to have your own version, that is fine but
  bump version in a commit by itself I can ignore when I pull)
* Send me a pull request. Bonus points for topic branches.

== Copyright

Copyright (c) 2009 <NAME>, <NAME>. See LICENSE for details.

{'fraction_non_alphanumeric': 0.09968115455613358, 'fraction_numerical': 0.009733176707501259, 'mean_word_length': 2.701863354037267, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 73, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5231312', 'n_tokens_mistral': 2299, 'n_tokens_neox': 1867, 'n_words': 700}