This repository was archived by the owner on Nov 8, 2018. It is now read-only.
forked from peacecorps/PCSA-web
-
Notifications
You must be signed in to change notification settings - Fork 47
Getting Started
Fatima Rafiqui edited this page Aug 30, 2017
·
9 revisions
- Apache server 2.4+
- PHP 7+
- MySQL 5.5+
- PHPMyAdmin 4.7+
- Composer 1+
- nodejs 6.11+
- npm 4+
For other packages and dependencies refer composer.json and package.json.
Note:
- For Linux lovers, install Xampp and use install.sh file to install all the dependencies
chmod -R 777 cache/
./install.sh
- For Windows use 'Linux on Windows'
- Install Xampp - for PHP, Apache, MySQL and PHPMyAdmin. Download Xampp from here
- Install composer from here
- Install nodejs and npm - Linux | OS X
- Clone the repository to the htdocs directory of Xampp
cd /path/to/htdocs
git clone https://github.com/systers/FirstAide-web
cd FirstAide-web
- Installing composer dependencies
composer update
- Installing node packages
sudo npm install -g gulp-cli
npm install
- Updating permissions for cache directory
sudo chmod -R 777 cache/
- Minification of CSS
gulp
- Open Xampp and start Apache and Mysql server
- Import database and add configuration using guidelines given here
- Visit http://localhost/FirstAide-web/ and start using the application.