INSTALL XAMPP is a quick way to INSTALL PHP development environment. XAMPP is a completely free, easy to install Apache distribution containing MariaDB, PHP, and Perl. The XAMPP open source package has been set up to be incredibly easy to install and to use.
- DOWNLOAD the 7.2.x / PHP 7.2.x version of XAMPP from https://www.apachefriends.org/download.html for your platform.
- INSTALL the 7.2.x / PHP 7.2.x version of XAMPP for your platform.
- START XAMPP(Apache and MySQL).
Be sure to read the install instructions and FAQs:
You can find additional help on forums or Stack Overflow.
- INSTALL blast+
- INSTALL HMMER
- INSTALL Python(MySQLdb, numpy, and pandas)
- GIT CLONE gas to the XAMPP/xamppfiles/htdocs.
- CONFIGURE $_GAS_ROOT_PATH in gas/application/config/constants.php. Like :
$_GAS_ROOT_PATH = '/Applications/XAMPP/xamppfiles/htdocs/gas';
- CONFIGURE $_BLASTP_PATH in gas/application/config/constants.php. Like :
$_BLASTP_PATH = '/usr/local/bin/blastp';
- CONFIGURE $_HMMSEARCH_PATH in gas/application/config/constants.php. Like :
$_HMMSEARCH_PATH = '/usr/local/bin/hmmsearch';
- EXECUTE the gas/application/database/gas.sql to the database. Like :
/Applications/XAMPP/xamppfiles/bin/mysql -u root -p < /Applications/XAMPP/htdocs/gas/application/database/gas.sql
- CONFIGURE hostname, username, and password of database gas in gas/application/config/database.php. Like :
$db['default'] = array(
'dsn' => '',
'hostname' => '127.0.0.1',
'username' => 'root',
'password' => '',
'database' => 'gas',
PYTHON_PATH="/Users/zhangjiyuan/opt/anaconda3/bin/python"
echo $PYTHON_PATH
- CONFIGURE hostname, username, and password of database gas in gas/process.py. Like :
db = MySQLdb.connect("127.0.0.1", "root", "", "gas", charset='utf8')
- RUN the script gas/import.sh. Like :
sh gas/import.sh -h
-s [dir] | the dir of data.
sh gas/import.sh -s /Users/zhangjiyuan/Desktop/docs/GAS_files
- GIT CLONE gas_frontend/web to the XAMPP/xamppfiles/htdocs.
- VISIT http://127.0.0.1/web/#/home.