Skip to content

Commit c67b6ec

Browse files
committed
Update README.md
1 parent f29cfca commit c67b6ec

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
#Magento2 & Zendserver docker container
1+
#Zendserver docker container for magento development
22

33
- 1) Build your container :
44
./build.sh
55

66
- 2) start your container :
7-
./run-server.sh \<instance_name\> \<token_github\>
7+
./run-server.sh \<instance_name\> \<url\>
88

9-
The \<instance_name\> will be your docker container name. It will be use for the magento installation : http://www. \<instance_name\> .lan/
10-
The script will add the host (www. \<instance_name\> .lan) automatically into /etc/hosts
11-
12-
\<token_github\> is your public github token, if you run too many time the container github will block the script installation because of too many anonymous requests.
13-
it will allow you to avoid the "Could not authenticate against github.com" error in case of too many deployments.
9+
The \<instance_name\> will be your docker container name. It will be use for the magento installation.
10+
The \<url\> is your the url used in your database to access the website. http://<url>, the url will be added to your /etc/host file
1411

1512
Be carefull to not have an apache2 or mysql running in the same time (the ports 80 et 3306 must be free).
1613

1714
- 3) Where can i edit the files ?
15+
Before starting, put a bdd.sql file into the directory:
16+
/data/\<instance_name\>/mysql/bdd.sql
17+
Then add your magento files into
18+
/data/\<instance_name\>/html/
1819

1920
Once started the file will be in the folder /data/\<instance_name\>/
2021
- The database file will be in /data/\<instance_name\>/mysql/

0 commit comments

Comments
 (0)