-
Notifications
You must be signed in to change notification settings - Fork 13
Installation
sndpl edited this page Nov 22, 2011
·
4 revisions
DbPatch can easily be installed with the PEAR installer.
You can prepare your PEAR installation using the following commands:
pear channel-discover pear.dbpatch-project.com
And to install DbPatch you can use the following command:
pear install DbPatch/DbPatch
The steps necessary for manual installation are:
- Clone the dbpatch source from GitHub in your favorite location.
- Depending upon your OS:
- For Windows: Add <DBPATCH_PATH>/bin to your PATH so that you can invoke dbpatch.bat from any location.
- For Linux or Mac OSX: create a symlink from <DBPATCH_PATH>/bin/dbpatch.php to your bin folder (usually /usr/bin) named dbpatch.
When the installation is finished you can invoke the dbpatch command from any path in your system. Recommended is to read the chapter Usage, which will explain how to start using DbPatch.