Skip to content

ScorpioCoding/sc-qs-dc-lemp-mvc-gulp-backend-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

sc-qs-dc-php-lemp-mvc-gulp-scss-meta-trans

ScorpioCoing QuickStart Docker Apline Nginx Php MySql (LEMP) stack.
Now with MVC Model-View-Controller Application Setup.
Using Gulp to Copy files from the dev environment.
Using Gulp to handle Scss and Javascript.
Adding Company MetaData and projected into the header.phtml through the Controller.
Adding Module Translation and projected into the web page through the controller.

Basic Usage

  • clone git

  • open terminal and go into _dockerfiles

  • run docker command to start

    docker compose up -d
    
  • run docker command to stop

    docker compose down
    
  • The frontend http://localhost:6080

  • phpMyadmin http://localhost:6081

Gulp Usage

  • open second terminal and goto _gulpfiles
  • run command to init gulp to create node_modules folder
    npm install
  • run command to start gulp
    gulp
  • to stop enter keys ctrl+c

Favicons

Favicons can be created by using the following link

MetaData

Add your Company meta to the html/env/.env-meta file

Translation

Adding Modular Translation using .json files per language
Key - Value pair system.
Using the Key in the views(phtml) webpages
and according to chosen language code
the given translation is projected into the webpage through the controller

Added the directory trans to the dev environment and modified the gulpfile.js