Skip to content

Franckeddy/portfolio_global

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portfolio_Global

The project called Portfolio:

At this point, the project layout look like the following:

my-app/
├─ _doc/
│  └─ ...
├─ docker/
│  └─ apache
│  └─ config
│  └─ mysql
│  └─ nginx
│  └─ node
│  └─ php
├─ Front    -> Angular/
│  └─ ...
├─ Back     -> SYMFONY 4/
│  └─ ...
└─ docker-compose.yml

Docker containers:

	DataBase:
	 1. MySQL
	 2. PhpMyAdmin
	
	Server Code:
	 1. PHP
	 2. Apache
 
	 Front End Code:
	 1. NGINX

Usage

Run development environment

$ docker-compose up

or run in background

$ docker-compose up -d

To down environment

$ docker-compose down

Useful

Show all container

$ docker-compose ps

Connect to container

$ docker exec -it {container_name} bash

Fix minor problem with docker images

$ docker-compose up --force-recreate

Hacks

For correct work with angular app you must fix package.json

"scripts": {
    "ng": "ng",
    "start": "ng serve --host 0.0.0.0",
    ....

Access to Url's

Symfony: http://localhost:82

Angular: http://localhost:4200

Phpmyadmin: http://localhost:8080

ApiDoc: http://localhost:82/swagger/index.html

Versioning

- Github, Web-based version-control and collaboration platform for software developers.

Authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published