medcenter24/mc-core

Backend for the MedCenter24 project

Installs: 227

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:medcenter24-extension

v4.0.0 2021-07-17 11:07 UTC

README

Build Status

GitHub GitHub release

CRM My Doctors

CRM system that provide opportunity to store, aggregate and automatize all business processes.

The system is intended for companies which work with assistants and are engaged in providing medical insurance services.

Technical documentation

Description of the features and tools for the application.

ONLY_API

  • Parameter ONLY_API passed as a server parameter will be interpreted as configuration is used as a API only. It means that with that parameter all requests will be proceed by the router/api.php

Telegram settings

To generate new cert: openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 3650 -nodes

Installation

We created artisan command to make it simple: artisan setup:environment

Quick local installation

But you need to take into an account that to use the local Environment you need to do composer install in the mcCore folder

php artisan setup:environment \
    --API_DEBUG=true \
    --APP_DEBUG=true \
    --APP_ENV=local \
    --APP_LOG_LEVEL=debug \
    --DB_CONNECTION=sqlite \
    --DB_DATABASE=/private/var/www/sandbox/projects/medcenter24/develop/mcCore/database/db.sqlite \
    --DEBUGBAR_ENABLED=true

Modules

  1. Add module to composer.json
  2. Check modules with command docker-compose -f ./dhvDocker/docker-compose.yaml exec mc-dhv-phpfpm php /var/www/html/mcCore/artisan module:list
  3. Activate module with command docker-compose -f ./dhvDocker/docker-compose.yaml exec mc-dhv-phpfpm php /var/www/html/mcCore/artisan module:enable <MODULE NAME>