Update README
This commit is contained in:
22
README.md
22
README.md
@@ -23,13 +23,20 @@ Docker running Nginx, PHP-FPM, MySQL and PHPMyAdmin.
|
|||||||
$ git clone https://github.com/nanoninja/docker-nginx-php-mysql.git
|
$ git clone https://github.com/nanoninja/docker-nginx-php-mysql.git
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Run :
|
2. Copying the composer configuration file :
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# Convenient to avoid overwriting the configuration with Git.
|
||||||
|
$ cp web/app/composer.json.dist web/app/composer.json
|
||||||
|
```
|
||||||
|
|
||||||
|
3. Run :
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ docker-compose up -d
|
$ docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Open your favorite browser :
|
4. Open your favorite browser :
|
||||||
|
|
||||||
* [http://localhost:8000](http://localhost:8000/)
|
* [http://localhost:8000](http://localhost:8000/)
|
||||||
* [https://localhost:3000](https://localhost:3000/) ([HTTPS](https://github.com/nanoninja/docker-nginx-php-mysql#generating-ssl-certificates) not configured by default)
|
* [https://localhost:3000](https://localhost:3000/) ([HTTPS](https://github.com/nanoninja/docker-nginx-php-mysql#generating-ssl-certificates) not configured by default)
|
||||||
@@ -42,20 +49,15 @@ Docker running Nginx, PHP-FPM, MySQL and PHPMyAdmin.
|
|||||||
├── bin
|
├── bin
|
||||||
│ └── linux
|
│ └── linux
|
||||||
│ └── clean.sh
|
│ └── clean.sh
|
||||||
├── data
|
|
||||||
│ └── db
|
|
||||||
│ ├── dumps
|
|
||||||
│ └── mysql
|
|
||||||
├── docker-compose.yml
|
├── docker-compose.yml
|
||||||
├── etc
|
├── etc
|
||||||
│ ├── nginx
|
│ ├── nginx
|
||||||
│ │ └── default.conf
|
│ │ └── default.conf
|
||||||
│ ├── php
|
│ └── php
|
||||||
│ │ └── php.ini
|
│ └── php.ini
|
||||||
│ └── ssl
|
|
||||||
└── web
|
└── web
|
||||||
├── app
|
├── app
|
||||||
│ ├── composer.json
|
│ ├── composer.json.dist
|
||||||
│ ├── phpunit.xml.dist
|
│ ├── phpunit.xml.dist
|
||||||
│ ├── src
|
│ ├── src
|
||||||
│ │ └── Foo.php
|
│ │ └── Foo.php
|
||||||
|
|||||||
Reference in New Issue
Block a user