mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-12-23 10:38:58 +00:00
Update README.md
This commit is contained in:
parent
8764181929
commit
310192614b
@ -38,13 +38,13 @@ A step by step series of examples that tell you have to get a development env ru
|
|||||||
* Make sure your logged in as root. Build the container and install bench inside the container as a **non root** user
|
* Make sure your logged in as root. Build the container and install bench inside the container as a **non root** user
|
||||||
|
|
||||||
This command requests the user to enter a password for the MySQL root user, please remember it for future use.
|
This command requests the user to enter a password for the MySQL root user, please remember it for future use.
|
||||||
This command also builds the 3 linked containers docker-frappe, mariadb and redis which are required by frappe,
|
This command also builds the 3 linked containers docker-frappe, mariadb and redis using the docker-compose up -d,
|
||||||
It creates a user frappe inside the docker-frappe container, whose working directory is /home/frappe. It also clones
|
it creates a user frappe inside the docker-frappe container, whose working directory is /home/frappe. It also clones
|
||||||
the bench-repo from [here](https://github.com/frappe/bench)
|
the bench-repo from [here](https://github.com/frappe/bench)
|
||||||
|
|
||||||
source build-container.sh
|
source build-container.sh
|
||||||
|
|
||||||
Note: Please do not remove the bench directory the above commands will create
|
Note: Please do not remove the bench-repo directory the above commands will create
|
||||||
|
|
||||||
#### Basic Usage
|
#### Basic Usage
|
||||||
1. Starting docker containers
|
1. Starting docker containers
|
||||||
@ -66,6 +66,7 @@ A step by step series of examples that tell you have to get a development env ru
|
|||||||
bench init frappe-bench && cd frappe-bench
|
bench init frappe-bench && cd frappe-bench
|
||||||
|
|
||||||
4. Set the db host for bench(points bench to the mariadb container)
|
4. Set the db host for bench(points bench to the mariadb container)
|
||||||
|
Since the 3 containers are linked
|
||||||
|
|
||||||
bench set-mariadb-host mariadb
|
bench set-mariadb-host mariadb
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user