This file contains hidden or 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
doctrine.orm: | |
mappings: | |
AdjectiveBundle: ~ | |
ArtistBundle: ~ | |
CDBundle: ~ | |
ComposerBundle: ~ | |
TrackBundle: ~ | |
SonicUserBundle: ~ | |
UserBundle: ~ |
This file contains hidden or 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
# app/config/security.yml | |
security.config: | |
providers: | |
fos_user: | |
password_encoder: &password_encoder | |
sha1 | |
id: fos_user.user_manager | |
firewalls: | |
public: | |
pattern: .* |
This file contains hidden or 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
doctrine.orm: | |
default_entity_manager: default | |
entity_managers: | |
default: | |
connection: default | |
mappings: | |
AdjectiveBundle: ~ | |
ArtistBundle: ~ | |
CDBundle: ~ | |
ComposerBundle: ~ |
This file contains hidden or 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
doctrine.orm: | |
mappings: | |
AdjectiveBundle: ~ | |
ArtistBundle: ~ | |
CDBundle: ~ | |
ComposerBundle: ~ | |
TrackBundle: ~ | |
SonicUserBundle: ~ | |
UserBundle: ~ | |
default_entity_manager: default |
This file contains hidden or 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
Feature: Blog Reader | |
In order to learn what another person is thinking | |
As a blog reader | |
I want to find and read blog entries | |
Scenario: Find Text Blog Entry | |
Given I am on a bloggers page | |
Then I should see a list of blog entries titles | |
And I should see the first 100 characters of each entry's content | |
And I should have a link to each entry |
This file contains hidden or 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
Feature: Blogger | |
In order to communicate my thoughts | |
As a blogger | |
I want to enter material and publish it | |
Scenario: Create a Blog Account | |
Given I have an account | |
When I submit my subdomain | |
And I select a name | |
Then I should own a blog account |
This file contains hidden or 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
#!/usr/bin/env ruby | |
# Written by Kieran P | |
# http://github.com/KieranP | |
# http://twitter.com/k776 | |
# http://k776.tumblr.com | |
# | |
# Feel free to fork and modify. | |
# If you do, send me a message on | |
# Github details changes and I'll |
This file contains hidden or 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
run "gem sources -a http://gems.github.com" | |
gem 'desert', :version => '0.5', :lib => 'desert' | |
gem 'mislav-will_paginate', :version => '~> 2.3.6', :lib => 'will_paginate', :source => 'http://gems.github.com' | |
gem 'tog-tog', :version => '0.4.4', :lib => 'tog' | |
rake "gems:install" | |
plugin 'acts_as_commentable', :svn => "http://juixe.com/svn/acts_as_commentable" | |
file "db/migrate/" + Time.now.strftime("%Y%m%d%H%M%S") + "_acts_as_commentable.rb", | |
%q{class ActsAsCommentable < ActiveRecord::Migration |
This file contains hidden or 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
# app name | |
app_name = @root.split('/').last | |
if yes?("Drop databases?") | |
run "mysqladmin -u root -p drop #{app_name}_development -f" | |
run "mysqladmin -u root -p drop #{app_name}_test -f" | |
run "mysqladmin -u root -p drop #{app_name}_production -f" | |
end | |
if yes?("Create databases?") |
NewerOlder