/KiepAppointments

KiepAppointments

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

Forked from easyappointments.org and simplified.

Setup

On Windows

git clone https://github.com/Joozt/KiepAppointments.git
cd KiepAppointments
npm install
composer update
composer install
npm start

Build

npm run build

Installation

  • Upload the build directory to the server
  • Make the storage directory writable
  • Rename "config-sample.php" to "config.php" and update its contents based on your environment
  • Follow installation guide

Run PHP & MySQL Docker

Change config.php to:

class Config {
    // ------------------------------------------------------------------------
    // GENERAL SETTINGS
    // ------------------------------------------------------------------------
    
    const BASE_URL      = 'http://localhost:8000'; 
    const LANGUAGE      = 'dutch';
    const DEBUG_MODE    = TRUE;

    // ------------------------------------------------------------------------
    // DATABASE SETTINGS
    // ------------------------------------------------------------------------
    
    const DB_HOST       = 'easyappointments-database:3306';
    const DB_NAME       = 'easyappointments';
    const DB_USERNAME   = 'root';
    const DB_PASSWORD   = 'root';

    // ------------------------------------------------------------------------
    // GOOGLE CALENDAR SYNC
    // ------------------------------------------------------------------------
    
    const GOOGLE_SYNC_FEATURE   = FALSE; // You can optionally enable the Google Sync feature. 
    const GOOGLE_PRODUCT_NAME   = '';
    const GOOGLE_CLIENT_ID      = '';
    const GOOGLE_CLIENT_SECRET  = '';
    const GOOGLE_API_KEY        = '';
}
cd docker
docker-compose up

On the host machine the server is accessible via http://localhost:8000, the database via localhost:8001 and the mail server via http://localhost:8002/