Skip to content

Commit 509cb9a

Browse files
committed
replace the phpmyadmin guide in the readme
1 parent f2aea63 commit 509cb9a

1 file changed

Lines changed: 21 additions & 22 deletions

File tree

README.md

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ It's like Laravel Homestead but for Docker instead of Vagrant.
4444
- [Run Artisan Commands](#Run-Artisan-Commands)
4545
- [Use Redis](#Use-Redis)
4646
- [Use Mongo](#Use-Mongo)
47+
- [Use phpMyAdmin](#Use-phpMyAdmin)
4748
- [PHP](#PHP)
4849
- [Install PHP Extensions](#Install-PHP-Extensions)
4950
- [Change the PHP-FPM Version](#Change-the-PHP-FPM-Version)
@@ -52,8 +53,6 @@ It's like Laravel Homestead but for Docker instead of Vagrant.
5253
- [Start/Stop xDebug](#Controll-xDebug)
5354
- [Production](#Production)
5455
- [Setup Laravel and Docker on Digital Ocean](#Digital-Ocean)
55-
- [Database](#Database)
56-
- [Use phpMyAdmin](#Use-phpMyAdmin)
5756
- [Misc](#Misc)
5857
- [Use custom Domain](#Use-custom-Domain)
5958
- [Enable Global Composer Build Install](#Enable-Global-Composer-Build-Install)
@@ -704,6 +703,26 @@ More details about this [here](https://github.com/jenssegers/laravel-mongodb#ins
704703

705704

706705

706+
<br>
707+
<a name="Use-phpMyAdmin"></a>
708+
### Use phpMyAdmin
709+
710+
1 - Run the phpMyAdmin Container (`phpmyadmin`) with the `docker-compose up` command. Example:
711+
712+
```bash
713+
# use with mysql
714+
docker-compose up -d mysql phpmyadmin
715+
716+
# use with mariadb
717+
docker-compose up -d mariadb phpmyadmin
718+
```
719+
720+
2 - Open your browser and visit the localhost on port **8080**: `http://localhost:8080`
721+
722+
723+
724+
725+
707726
<br>
708727
<a name="PHP"></a>
709728

@@ -870,26 +889,6 @@ To controll the behavior of xDebug (in the `php-fpm` Container), you can run the
870889

871890

872891

873-
<br>
874-
<a name="Database"></a>
875-
876-
<br>
877-
<a name="Use-phpMyAdmin"></a>
878-
### Use phpMyAdmin
879-
880-
1 - First make sure you run the phpMyAdmin Container (`phpmyadmin`) with the `docker-compose up` command.
881-
882-
```bash
883-
# use mysql
884-
docker-compose up -d mysql phpmyadmin
885-
# use mariadb
886-
docker-compose up -d mariadb phpmyadmin
887-
```
888-
889-
2 - Open your browser and visit the localhost: `http://localhost:8080`
890-
891-
892-
893892
<br>
894893
<a name="Misc"></a>
895894

0 commit comments

Comments
 (0)