Skip to content

roman-cech/docker-webte

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nginx PHP MySQL Build Status GitHub version

Docker running Nginx, PHP-FPM, Composer, MySQL and PHPMyAdmin.

How to run project locally:

Start docker desktop!

Go to project directory and press:

docker-compose up --build -d

And install composer with command bellow:

cd web/app/
composer update

To insert database go to http://localhost:8080 and use:

  • "mysql" for Server
  • "dev" for user name
  • "dev" for password

After login use database_ini.sql for import database.

If everything goes well go here: http://localhost:8000

Install prerequisites

All requisites should be available for your distribution. The most important are :

Go to composer.json and press install. You should see vendor folder.

This project use the following ports :

Server Port
MySQL 8989
PHPMyAdmin 8080
Nginx 8000
Nginx SSL 3000

Project structure

In all classes define namespace start with App.

For example:

DEFINE:
namespace App\ExampleClass;
USE:
use App\ExampleClass\ExampleClass;
$example = new ExampleClass();

Run the application

  1. Open your favorite browser :


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages