+
+
+
+
diff --git a/frontend/src/router.js b/frontend/src/router.js
index 2a51c260..a64bdd8b 100644
--- a/frontend/src/router.js
+++ b/frontend/src/router.js
@@ -74,7 +74,7 @@ const routes = [
{
path: '/organizations/:organizationId',
name: 'Organization',
- component: () => import('@/pages/Organization.vue'),
+ component: () => import(`@/pages/${handleMobileView('Organization')}.vue`),
props: true,
},
{
From ac7f708de3a14e475783c89c3a0ab896710c88f8 Mon Sep 17 00:00:00 2001
From: Shariq Ansari
Date: Thu, 31 Oct 2024 22:17:20 +0530
Subject: [PATCH 18/19] fix: do not create alex user in docker compose steps
---
docker/docker-compose.yml | 2 +-
docker/init.sh | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
index b4c8d7c4..75e2d142 100644
--- a/docker/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -2,7 +2,7 @@ version: "3.7"
name: crm
services:
mariadb:
- image: mariadb:10.6
+ image: mariadb:10.8
command:
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_unicode_ci
diff --git a/docker/init.sh b/docker/init.sh
index 1fb4b01f..d9b89d81 100644
--- a/docker/init.sh
+++ b/docker/init.sh
@@ -22,7 +22,7 @@ bench set-redis-socketio-host redis:6379
sed -i '/redis/d' ./Procfile
sed -i '/watch/d' ./Procfile
-bench get-app crm
+bench get-app crm --branch develop
bench new-site crm.localhost \
--force \
@@ -34,7 +34,6 @@ bench --site crm.localhost install-app crm
bench --site crm.localhost set-config developer_mode 1
bench --site crm.localhost clear-cache
bench --site crm.localhost set-config mute_emails 1
-bench --site crm.localhost add-user alex@example.com --first-name Alex --last-name Scott --password 123 --user-type 'System User' --add-role 'crm Admin'
bench use crm.localhost
bench start
\ No newline at end of file
From ab7039d6dc791d35ce7bc2ccab813e3f36e50b40 Mon Sep 17 00:00:00 2001
From: Shariq Ansari
Date: Thu, 31 Oct 2024 22:22:25 +0530
Subject: [PATCH 19/19] chore: updated README.md to mention docker steps
---
README.md | 34 +++++++++++++++++++++++++++++++++-
1 file changed, 33 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index a7fe6885..ed962a2a 100644
--- a/README.md
+++ b/README.md
@@ -45,10 +45,42 @@
## Getting Started
-### Cloud Hosting
+### Managed Hosting
Get started with your personal or business site with a few clicks on [Frappe Cloud](https://frappecloud.com/marketplace/apps/crm).
+### Docker (Recommended)
+
+The quickest way to set up Frappe CRM and take it for a test ride.
+
+Frappe framework is multi-tenant and supports multiple apps by default. This docker compose is just a standalone version with Frappe CRM pre-installed. Just put it behind your desired reverse-proxy if needed, and you're good to go.
+
+If you wish to use multiple Frappe apps or need multi-tenancy. Take a look at our production ready self-hosted workflow, or join us on Frappe Cloud to get first party support and hassle-free hosting.
+
+**Step 1**: Setup folder and download the required files
+
+ mkdir frappe-crm
+ cd frappe-crm
+
+**Step 2**: Download the required files
+
+Docker Compose File:
+
+ wget -O docker-compose.yml https://raw.githubusercontent.com/frappe/crm/develop/docker/docker-compose.yml
+
+Frappe CRM bench setup script
+
+ wget -O init.sh https://raw.githubusercontent.com/frappe/crm/develop/docker/init.sh
+
+**Step 3**: Run the container and daemonize it
+
+ docker compose up -d
+
+**Step 4**: The site [http://crm.localhost](http://crm.localhost) should now be available. The default credentials are:
+
+> username: administrator
+> password: admin
+
### Self-hosting
If you prefer self-hosting, follow the official [Frappe Bench Installation](https://github.com/frappe/bench#installation) instructions.