mirror of
https://github.com/frappe/frappe_docker.git
synced 2025-01-10 17:24:43 +00:00
fix: improve readme
mention to add site for production deployment mention to start bench for development deployment fixes #181
This commit is contained in:
parent
1b6ede5e89
commit
362075a2bc
@ -101,6 +101,7 @@ Make sure to replace `<project-name>` with the desired name you wish to set for
|
|||||||
|
|
||||||
Notes:
|
Notes:
|
||||||
|
|
||||||
|
- New site (first site) needs to be added after starting the services.
|
||||||
- The local deployment is for testing and REST API development purpose only
|
- The local deployment is for testing and REST API development purpose only
|
||||||
- A complete development environment is available [here](Development/README.md)
|
- A complete development environment is available [here](Development/README.md)
|
||||||
- The site names are limited to patterns matching \*.localhost by default
|
- The site names are limited to patterns matching \*.localhost by default
|
||||||
@ -140,7 +141,11 @@ docker-compose \
|
|||||||
```
|
```
|
||||||
|
|
||||||
Make sure to replace `<project-name>` with any desired name you wish to set for the project.
|
Make sure to replace `<project-name>` with any desired name you wish to set for the project.
|
||||||
Note: use `docker-compose-frappe.yml` in case you need only Frappe without ERPNext.
|
|
||||||
|
Notes:
|
||||||
|
|
||||||
|
- Use `docker-compose-frappe.yml` in case you need only Frappe without ERPNext.
|
||||||
|
- New site (first site) needs to be added after starting the services.
|
||||||
|
|
||||||
### Docker containers
|
### Docker containers
|
||||||
|
|
||||||
|
@ -103,6 +103,16 @@ bench set-config developer_mode 1
|
|||||||
bench clear-cache
|
bench clear-cache
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Start development
|
||||||
|
|
||||||
|
Execute following command from the `frappe-bench` directory.
|
||||||
|
|
||||||
|
```shell
|
||||||
|
bench start
|
||||||
|
```
|
||||||
|
|
||||||
|
Note: To start bench with debugger refer section for debugging.
|
||||||
|
|
||||||
### Fixing MariaDB issues after rebuilding the container
|
### Fixing MariaDB issues after rebuilding the container
|
||||||
|
|
||||||
The `bench new-site` command creates a user in MariaDB with container IP as host, for this reason after rebuilding the container there is a chance that you will not be able to access MariaDB correctly with the previous configuration
|
The `bench new-site` command creates a user in MariaDB with container IP as host, for this reason after rebuilding the container there is a chance that you will not be able to access MariaDB correctly with the previous configuration
|
||||||
|
Loading…
Reference in New Issue
Block a user