An open API service indexing awesome lists of open source software.

https://github.com/scorpiocoding/sc-qs-dc-lemp-mvc-gulp-backend-

ScorpioCoding QuickStart Docker LEMP MVC Gulp Backend
https://github.com/scorpiocoding/sc-qs-dc-lemp-mvc-gulp-backend-

docker docker-compose gulp lemp lemp-stack php-framework php-mvc php-mvc-framework quickstart scorpiocoding

Last synced: 2 months ago
JSON representation

ScorpioCoding QuickStart Docker LEMP MVC Gulp Backend

Awesome Lists containing this project

README

          

![image](quickstart-github-banner.png)

# 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](https://www.favicon-generator.org/)

## 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`