@@ -43,19 +43,28 @@ Vagrant might also be a solution regarding performances.
4343If not possible, you may also directly run the commands specified in the [ Makefile] ( Makefile ) .
4444For instance, instead of running ` make up ` , run ` docker-compose up -d ` .
4545
46- ### macOS and Windows
46+ #### Hosts
4747
48- Update your ` hosts ` file with the following entry :
48+ Update your ` hosts ` file with the following entries :
4949
5050```
51- 127.0.0.1 *.localhost
51+ 127.0.0.1 traefik.companies-and-products.localhost
52+ 127.0.0.1 companies-and-products.localhost
53+ 127.0.0.1 api.companies-and-products.localhost
54+ 127.0.0.1 phpmyadmin.companies-and-products.localhost
55+ 127.0.0.1 minio.companies-and-products.localhost
56+ 127.0.0.1 mailhog.companies-and-products.localhost
5257```
5358
54- On macOS, run ` sudo nano /etc/hosts ` to edit it.
59+ > Update the domain with the one used in your project.
60+
61+ On Linux and macOS, run ` sudo nano /etc/hosts ` to edit it.
5562
5663On Windows, edit the file ` C:\Windows\System32\drivers\etc\hosts ` with administrative privileges.
5764
58- If you're using Vagrant, check there is no application running on port 80 (like Apache or another virtual machine).
65+ ### Vagrant
66+
67+ Check there is no application running on port 80 (like Apache or another virtual machine).
5968
6069If OK, run ` make vagrant ` , then ` vagrant up ` , and finally ` vagrant ssh ` to connect to the virtual machine.
6170From here, you'll be able to run all the next commands like Linux users!
@@ -106,7 +115,7 @@ Once everything is ready, the following endpoints should be available:
106115* http://api.companies-and-products.localhost (API)
107116* http://phpmyadmin.companies-and-products.localhost (phpMyAdmin, a web interface for your MySQL database)
108117* http://minio.companies-and-products.localhost (S3 compatible storage)
109- * http://mailhog.companies-and-products.loclahost (Emails catcher)
118+ * http://mailhog.companies-and-products.localhost (Emails catcher)
110119
111120> Update the domain with the one used in your project.
112121
0 commit comments