-
Go to the directory where you want the to install to
-
git clone git://github.com/tareko/Kitab-Al-Shifa.git kitab
-
cd kitab
-
Initialize submodules:
git submodule init
git submodule update
-
Make sure
app/tmp/
and subdirectories are writeable by the webserver -
Config directory a.
cp app/Config/core.php.default app/Config/core.php
b.cp app/Config/database.php.default app/Config/database.php.default
c.cp app/Config/email.php.default app/Config/email.php
-
Create a cron that hits the following: a. /trades/startUnprocessed b. /trades/completeAccepted
cd docker
cp .env.sample .env # Edit this file from the defaults
docker-compose up
cd docker
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up
The dev server's ports are:
- Web: http://localhost:9180
- Mailhog: http://localhost:8125
- phpMyAdmin: http://localhost:9181
- Mysql: http://localhost:9106
-
Add the
kitab.sql
andjoomla.sql
schema if needed -
Add to your php.ini:
max_input_vars = 10000
-
Install
wkhtmltopdf
from the site (otherwise, you may not have proper PDFs): a. http://wkhtmltopdf.org/downloads.html b. Configure the location inbootstrap.php