2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-09-19 18:49:01 +00:00

Updated Readme

This commit is contained in:
vishalseshagiri 2017-08-31 14:43:51 +05:30 committed by GitHub
parent fa8e80fe3e
commit 935fbb72cb

View File

@ -104,6 +104,7 @@ Express dependency between services, which has two effects:
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
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
installed. It will be setup for periodic backups and auto updates once
a day.
cd ..
bench init --skip-bench-mkdir --skip-redis-config-generation frappe-bench && cd frappe-bench
cd .. && bench init frappe-bench --skip-bench-mkdir --skip-redis-config-generation && 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