Skip to content
sndpl edited this page Nov 22, 2011 · 4 revisions

PEAR

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

Manual

The steps necessary for manual installation are:

  • Clone the dbpatch source from GitHub in your favorite location.
  • Depending upon your OS:
    1. For Windows: Add <DBPATCH_PATH>/bin to your PATH so that you can invoke dbpatch.bat from any location.
    2. 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.

Clone this wiki locally