Skip to content
This repository was archived by the owner on Nov 8, 2018. It is now read-only.

Getting Started

Fatima Rafiqui edited this page Aug 30, 2017 · 9 revisions

Requirements

  1. Apache server 2.4+
  2. PHP 7+
  3. MySQL 5.5+
  4. PHPMyAdmin 4.7+
  5. Composer 1+
  6. nodejs 6.11+
  7. npm 4+

For other packages and dependencies refer composer.json and package.json.

Setup Environment Guidelines

Note:

  • For Linux lovers, install Xampp and use install.sh file to install all the dependencies
chmod -R 777 cache/
./install.sh
  1. Install Xampp - for PHP, Apache, MySQL and PHPMyAdmin. Download Xampp from here
  2. Install composer from here
  3. Install nodejs and npm - Linux | OS X
  4. Clone the repository to the htdocs directory of Xampp
cd /path/to/htdocs
git clone https://github.com/systers/FirstAide-web
cd FirstAide-web
  1. Installing composer dependencies
composer update
  1. Installing node packages
sudo npm install -g gulp-cli
npm install
  1. Updating permissions for cache directory
sudo chmod -R 777 cache/
  1. Minification of CSS
gulp
  1. Open Xampp and start Apache and Mysql server
  2. Import database and add configuration using guidelines given here
  3. Visit http://localhost/FirstAide-web/ and start using the application.

Clone this wiki locally