mirror of
https://github.com/frappe/frappe_docker.git
synced 2025-01-25 16:18:32 +00:00
Updated Readme
Former-commit-id: 935fbb72cb641d7eb6bef1f92cf43ca5468a58fd
This commit is contained in:
parent
7cf16223ff
commit
d3c3c52a27
@ -104,6 +104,7 @@ Express dependency between services, which has two effects:
|
|||||||
|
|
||||||
2. Accessing the frappe container via CLI
|
2. Accessing the frappe container via CLI
|
||||||
|
|
||||||
|
docker exec -i -u root frappe bash -c "cd /home/frappe && chown -R frappe:frappe ./*"
|
||||||
docker exec -it frappe bash
|
docker exec -it frappe bash
|
||||||
|
|
||||||
3. Create a new bench
|
3. Create a new bench
|
||||||
@ -111,9 +112,9 @@ Express dependency between services, which has two effects:
|
|||||||
The init command will create a bench directory with frappe framework
|
The init command will create a bench directory with frappe framework
|
||||||
installed. It will be setup for periodic backups and auto updates once
|
installed. It will be setup for periodic backups and auto updates once
|
||||||
a day.
|
a day.
|
||||||
|
|
||||||
cd ..
|
cd .. && bench init frappe-bench --skip-bench-mkdir --skip-redis-config-generation && cd frappe-bench
|
||||||
bench init --skip-bench-mkdir --skip-redis-config-generation frappe-bench && cd frappe-bench
|
mv Procfile_docker Procfile && mv sites/common_site_config_docker.json sites/common_site_config.json
|
||||||
|
|
||||||
4. Set the db host for bench (points bench to the mariadb container) since the 3 containers are linked
|
4. Set the db host for bench (points bench to the mariadb container) since the 3 containers are linked
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user