Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A relief effort to connect donators with those in need
PHP JavaScript Other
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
apps
config
data
lib
plugins
test
web
.gitignore
.gitmodules
Capfile
README.markdown
symfony

README.markdown

Donate Nashville

Setup

Pull down the repository

git clone git@github.com:bshaffer/Donate-Nashville.git
cd Donate-Nashville
git submodule init
git submodule update

Put the symfony library in your project

The easiest way is to do this is to clone symfony into some directory on your computer and then create a symbolic link into your project:

cd /path/to/put/symfony
git clone http://github.com/vjousse/symfony-1.4.git

cd /path/to/Donate-Nashville
ln -s /path/to/put/symfony/symfony-1.4 lib/vendor/symfony

A few more things:

mkdir log
mkdir cache
./symfony project:permissions

Setup your database

To set up your mysql database:

cp config/databases.yml.dist config/databases.yml

Uncomment out the dsn line in front of the mysql string, then update that string with the correct username and password. Finally, run the Symfony command to build the database.

./symfony doctrine:build --all --and-load

Push a new version of the site to the live server

Make sure you have ruby and rubygems installed! Install Capistrano and Capistrano EXT gems

gem install capistrano capistrano-ext --no-ri --no-rdoc

To push an update to the code.

cap production deploy

To push an update to the code with migrations.

cap production deploy:migrations
Something went wrong with that request. Please try again.