Skip to content

My-Dios/flat-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Starbucks GR Portal

sbux-ods

The All-in-One Integerated Restaurant Technology

System Requirement

System Operations: Windows or Unix Base

PHP: >= 7.2.11

MySQL: 5.6

Development Setup

Prerequisites

Setting Up a Project

Clone the project
clone into directory C:\Apache24\htdocs

git clone https://gitlab.esb.co.id/custom/starbucks/starbucks-gr-portal.git

Vendor
Download zip vendor and extract zip to directory starbucks-gr-portal/

Configuration
Create the following file for local environment configuration:

  • config/db.php
<?php
$username = 'root';
$password = '';
$params = require __DIR__ . '/params.php';

return [
    'db' => [
        'class' => 'yii\db\Connection',
        'dsn' => 'mysql:host=localhost;dbname=esb_gr',
        'username' => $username,
        'password' => $password,
        'charset' => 'utf8',
        // 'enableSchemaCache' => true,
        // 'schemaCacheDuration' => 3600,
        // 'schemaCache' => 'cache',
    ],
    'db_sap' => [
        'class' => 'yii\db\Connection',
        'dsn' => 'sqlsrv:server=PTKD11\SQLEXPRESS2014;Database=zddb',
        'username' => 'sa',
        'password' => 'userptkd',
        'charset' => 'utf8',
        // 'enableSchemaCache' => true,
        // 'schemaCacheDuration' => 3600,
        // 'schemaCache' => 'cache',
    ],
];

Create 1 new schema
Open MySQL Workbench and create 1 schema:

  1. esb_gr

Migration
Run Migration in directory starbucks-gr-portal/

php yii migrate

Run the project
Run with localhost and php version >= 7.2.11 and adjust the port to the port of the php version

http://localhost:82/starbucks-gr-portal/web/site/login

Usage a Project

Login

  1. User
    Username : administrator
    Password : admin
  2. User PI
    Username : erwanom
    Password : abc123

Version

Version Date Update
1.0.0 2022-03-01
  • Initial Version

About

Flat Website Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published