From 8b38448d8ac6f399ca612de7f95845be66ff947c Mon Sep 17 00:00:00 2001 From: Azwal Zaman Mohammed <37041930+azwalzaman@users.noreply.github.com> Date: Thu, 23 Mar 2023 10:46:34 +0530 Subject: [PATCH] docs: change command for updating sites in single server example (#1107) The previous command added an extra variable to the env file while keeping the default so I changed the command to update it with sed instead --- docs/single-server-example.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/single-server-example.md b/docs/single-server-example.md index 11f5b12b..1b617109 100644 --- a/docs/single-server-example.md +++ b/docs/single-server-example.md @@ -138,8 +138,8 @@ cp example.env ~/gitops/erpnext-one.env sed -i 's/DB_PASSWORD=123/DB_PASSWORD=changeit/g' ~/gitops/erpnext-one.env sed -i 's/DB_HOST=/DB_HOST=mariadb-database/g' ~/gitops/erpnext-one.env sed -i 's/DB_PORT=/DB_PORT=3306/g' ~/gitops/erpnext-one.env +sed -i 's/SITES=`erp.example.com`/SITES=\`one.example.com\`,\`two.example.com\`/g' ~/gitops/erpnext-one.env echo 'ROUTER=erpnext-one' >> ~/gitops/erpnext-one.env -echo "SITES=\`one.example.com\`,\`two.example.com\`" >> ~/gitops/erpnext-one.env echo "BENCH_NETWORK=erpnext-one" >> ~/gitops/erpnext-one.env ```