From 362075a2bc5cd99a18a1ee742b30dfa0c3d611c0 Mon Sep 17 00:00:00 2001 From: Revant Nandgaonkar Date: Fri, 10 Apr 2020 14:26:00 +0530 Subject: [PATCH] fix: improve readme mention to add site for production deployment mention to start bench for development deployment fixes #181 --- README.md | 7 ++++++- development/README.md | 10 ++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 860ceaac..0f090c8f 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,7 @@ Make sure to replace `` with the desired name you wish to set for 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 - A complete development environment is available [here](Development/README.md) - The site names are limited to patterns matching \*.localhost by default @@ -140,7 +141,11 @@ docker-compose \ ``` Make sure to replace `` 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 diff --git a/development/README.md b/development/README.md index 2f08d3d1..00fbd1a5 100644 --- a/development/README.md +++ b/development/README.md @@ -103,6 +103,16 @@ bench set-config developer_mode 1 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 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