esaude/blis

Name: blis

Owner: eSaude

Description: A working BLIS of branch 5.1 upgrade

Created: 2017-11-28 07:01:04.0

Updated: 2018-03-19 21:18:02.0

Pushed: 2018-03-05 16:56:06.0

Homepage: null

Size: 29961

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

BLIS (Branch Laravel 5.1 of eSaude )

BLIS is a port of the Basic Laboratory Information System (BLIS) to the Laravel PHP Framework by iLabAfrica. BLIS was originally developed by C4G.

Installation
DOCKER FROM SOURCE
  1. Install the above mentioned requirements.

  2. Download the source code to your computer

  3. Change directory to the root folder of the application. Update composer then run it in order to install the application dependencies. You may need root permissions to update composer.

    composer self-update
    composer install
  4. Update the application configuration files to suit your local settings:

  5. Set the “Application URL” in /app/config/app.php

  6. Create a database and set the database connection details in /app/config/database.php

  7. The organization name in /app/config/kblis.php

  8. Run the migrations to create the required database tables.

    php artisan migrate
  9. 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 two commands again.

    composer dumpautoload
  10. If you are running the application on a webserver eg. apache, ensure that the webserver has write permissions to the /app/storage folder. Ideally the web-root should be the /public folder. The default login credentials are 'administrator' 'password'.

Troubleshooting

Ensure that you enable mod_rewrite, sudo a2enmod rewrite if you are using apache. This should solve the problem of routing failures.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.