Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 1.29 KB

INSTALL.md

File metadata and controls

55 lines (39 loc) · 1.29 KB

Install Instructions

  1. Go to the directory where you want the to install to

  2. git clone git://github.com/tareko/Kitab-Al-Shifa.git kitab

  3. cd kitab

  4. Initialize submodules:

git submodule init
git submodule update
  1. Make sure app/tmp/ and subdirectories are writeable by the webserver

  2. 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

  3. Create a cron that hits the following: a. /trades/startUnprocessed b. /trades/completeAccepted

Docker instructions

cd docker
cp .env.sample .env # Edit this file from the defaults
docker-compose up

Docker development instructions

cd docker
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up

The dev server's ports are:

Non-Docker instructions

  1. Add the kitab.sql and joomla.sql schema if needed

  2. Add to your php.ini: max_input_vars = 10000

  3. Install wkhtmltopdf from the site (otherwise, you may not have proper PDFs): a. http://wkhtmltopdf.org/downloads.html b. Configure the location in bootstrap.php