Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

108 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages