Difference between revisions of "GIT"

From FusionPBX
Jump to: navigation, search
(If using SQLite)
(Move config.php and config.lua)
Line 2: Line 2:
  
 
==Move config.php and config.lua==
 
==Move config.php and config.lua==
Save config.php to a safer location
+
Save config.php and config.lua to a safer location. This could have been done already so check to see if it exists.
  Check if /etc/fusionpbx exists if it does not then create it
+
  ls -lh /etc/fusionpbx
 +
 +
Create the directory and move the files to that location.
 
  mkdir /etc/fusionpbx
 
  mkdir /etc/fusionpbx
 
  mv /var/www/fusionpbx/resources/config.php /etc/fusionpbx
 
  mv /var/www/fusionpbx/resources/config.php /etc/fusionpbx

Revision as of 14:49, 6 July 2015


Move config.php and config.lua

Save config.php and config.lua to a safer location. This could have been done already so check to see if it exists.

ls -lh /etc/fusionpbx

Create the directory and move the files to that location.

mkdir /etc/fusionpbx
mv /var/www/fusionpbx/resources/config.php /etc/fusionpbx
mv /usr/local/freeswitch/scripts/resources/config.lua /etc/fusionpbx

Moving your server from SVN to GIT

cd /var/www/
mv fusionpbx fusionpbx-svn
git clone https://github.com/fusionpbx/fusionpbx.git

If using SQLite

This assumes that SQLite is in /var/www/fusionpbx/secure directory and its named fusionpbx.db

mv /var/www/fusionpbx-svn/secure/fusionpbx.db /var/www/fusionpbx/secure/

Additional Notes