Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
rm -rf /usr/src/freepbx
echo "repo_directory=/usr/src/freepbx" >> ~/.freepbxconfig
cd /usr/src
git clone http://git.freepbx.org/scm/freepbx/devtools.git
cd /usr/src/devtools
./freepbx_git.php --setup --mode=ssh --switch=release/1415.0 --keys=freepbx

There are two ways of synchronizing your machine with the main Git repository, ssh or https.  ssh is significantly faster, and is the recommended way, but you do need to grant access to the SSH key of your development machine with the FreePBX Git Repository.

...

Code Block
./freepbx_git.php --setup --mode=ssh --switch=release/1415.0 --keys=freepbx

Make sure everything is symlinked correctly.

...

Code Block
/usr/src/devtools/freepbx_git.php -m <module> --switch=release/1415.0
Update Dev SymLinks? [n]: y
chown -R asterisk:asterisk /usr/src/freepbx
fwconsole ma install <module>
fwconsole reload

...