Skip to content

Instantly share code, notes, and snippets.

@Hounddog
Created May 9, 2012 14:33
Show Gist options
  • Save Hounddog/2644920 to your computer and use it in GitHub Desktop.
Save Hounddog/2644920 to your computer and use it in GitHub Desktop.
Install new V5 Dependencies
Instructions for installation of Dependencies
Remove your Pear Path from .bashrc in your home folder and all dependencies from it
#PATH="$PATH:/home/nmartin/pear/pear"
#export PATH
#alias phpunit='php /home/nmartin/pear/pear/phpunit'
#alias pear='/home/nmartin/pear/pear/pear'
#alias phpcs='/home/nmartin/pear/pear/phpcs'
add:
export PATH="$PATH:/path/to/your/src/vendor/bin"
To install new Dependencies run
php composer.phar install --dev
from your git source folder
Update Your build.properties to look like this
path.build = build path
environment = development
database.name = xyz
database.host = xyz
database.login = xyz
database.password = xyz
solr.hostname = xyz
solr.username =
solr.password =
solr.port = 8080
doctrine.migration.name = "V5 Database Migrations"
doctrine.migration.tableName = "doctrine_migration_versions"
doctrine.migration.namespace = "DoctrineMigrations"
doctrine.migration.directory = "/../../migration/test"
All command line options will be available in vendor/bin
e.g.
vendor/bin/phing/reset
@Showtim34
Copy link

disable pear dependencies in the .bashrc file

PATH="$PATH:/home/nmartin/pear/pear"

export PATH

alias phpunit='php /home/nmartin/pear/pear/phpunit'

alias pear='/home/nmartin/pear/pear/pear'

alias phpcs='/home/nmartin/pear/pear/phpcs'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment