BLIS is a port of the Basic Laboratory Information System (BLIS) to the Laravel PHP Framework by @iLabAfrica. BLIS was originally developed by C4G.
You can test and view the application here.
The easiest way to install is using docker, follow instruction here to install via docker.
Install the above mentioned requirements.
Extract this git repository to a local folder by running the following shell command.
git clone git@github.com:APHLK/BLIS.git
This will create a folder called BLIS
. Henceforth we'll refer to this folder as <APP_HOME>
.
Change your directory to <APP_HOME>
. Update composer then run it in order to install the application dependencies. You may need root permissions to update composer
. Run the following commands on the Linux terminal.
composer self-update
composer install
Update the application configuration files to suit your local settings:
<APP_HOME>/app/config/app.php
<APP_HOME>/app/config/database.php
<APP_HOME>/app/config/kblis.php
Run the migrations to create the required database tables.
php artisan migrate
Load the basic seed data
php artisan db:seed
If #5 or #6 above fails, you may need to run the following command then repeat the above two commands again.
composer dumpautoload
If you are running the application on a webserver eg. apache, ensure that the webserver has write permissions to the <APP_HOME>/app/storage
folder.
The web-root should be the <APP_HOME>/public
folder.
See below a sample apache (v 2.4.25 on Ubuntu) namedhost virtualhost configuration file.
<VirtualHost *:80>
ServerName blis
ServerAdmin blisadmin@myorganization.me
DocumentRoot /var/www/BLIS/public
<Directory /var/www/BLIS/public>
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
sudo a2enmod rewrite
if you are using apache. Perform the analogous action if using another web server.-|-|- 1.| Create a core API availing all functionality| September 2018 2.| HTML/CSC/Javascript front end | September 2018 3.| Use Mirth for instrument interfaces | September 2018 4.| Update documentation| Continuous
We welcome all forms of collaboration: coding, testing, documentation (writing/proof reading), feature/enhancement suggestions, ... Please review our contribution guidelines on the wiki page.