You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,21 @@
1
-
#Magento2 & Zendserver docker container
1
+
#Zendserver docker container for magento development
2
2
3
3
-1) Build your container :
4
4
./build.sh
5
5
6
6
-2) start your container :
7
-
./run-server.sh \<instance_name\>\<token_github\>
7
+
./run-server.sh \<instance_name\>\<url\>
8
8
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
14
11
15
12
Be carefull to not have an apache2 or mysql running in the same time (the ports 80 et 3306 must be free).
16
13
17
14
-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/
18
19
19
20
Once started the file will be in the folder /data/\<instance_name\>/
20
21
- The database file will be in /data/\<instance_name\>/mysql/
0 commit comments