From 77c0273f9ea5d95293cbc5628cb5ef46f406c72e Mon Sep 17 00:00:00 2001 From: Gardens <86159926+joingardens@users.noreply.github.com> Date: Thu, 24 Nov 2022 21:39:37 +0100 Subject: [PATCH 01/21] Update apps.js --- pages/apps.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/apps.js b/pages/apps.js index 932e721..c326e86 100644 --- a/pages/apps.js +++ b/pages/apps.js @@ -189,12 +189,12 @@ export default function Apps({ products }) {

Three simple steps

-

Connect your cloud

+

Connect your cloud or run a CLI script

1
- Sign up with Digital Ocean and grab a token. Gardens will provision a droplet with Caprover installed and configure everything for you. You will only need a domain. + Run one line in CLI on your machine or install without code in the cloud. Gardens will provision a droplet with Caprover installed and configure everything for you.

Select apps

@@ -269,7 +269,7 @@ export default function Apps({ products }) { Gardens Apps is meant for anyone who needs to host their own apps, or who is curious to learn more about self-hosting and open-source. It's perfect for non-profit and social enterprises, and for hobbyists who find themselves hosting many apps at once.
-

โ“ If both the admin interface and apps live on my own cloud, how does Gardens make money?

+

โ“ If both the admin interface and apps live on my own machine, how does Gardens make money?

We charge a monthly subscription for access to our hand-picked library of best open-source apps, and for additional features, such as tools for organizing your knowledge and a nice home page for your team. You're free to cancel subscription at any time though, your apps and the admin interface will stay with you.
@@ -310,4 +310,4 @@ export async function getStaticProps() { }, revalidate: 60 }; -} \ No newline at end of file +} From 80ac4b34b5ee6252b2f7faacefc4e3b664edfcdb Mon Sep 17 00:00:00 2001 From: Open Work Date: Fri, 25 Nov 2022 19:49:25 +0000 Subject: [PATCH 02/21] Update Pricing.js --- components/Pricing.js | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/components/Pricing.js b/components/Pricing.js index 312cd30..21002cc 100644 --- a/components/Pricing.js +++ b/components/Pricing.js @@ -11,7 +11,7 @@ export default function Pricing({ products }) { const router = useRouter(); const [billingInterval, setBillingInterval] = useState('month'); const [priceIdLoading, setPriceIdLoading] = useState(); - const { session, userLoaded, subscription } = useUser(); + const { user, session, userLoaded, subscription } = useUser(); const handleCheckout = async (price) => { setPriceIdLoading(price.id); @@ -146,14 +146,29 @@ export default function Pricing({ products }) {
) : null} - ) : ( + + )} + + ); From 7ea2f502a859541bc19cc74361f4b32813a1f3ca Mon Sep 17 00:00:00 2001 From: Gardens <86159926+joingardens@users.noreply.github.com> Date: Tue, 29 Nov 2022 19:15:05 +0100 Subject: [PATCH 03/21] Update index.tsx --- pages/myapps/index.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/pages/myapps/index.tsx b/pages/myapps/index.tsx index 6e979ef..fd59619 100644 --- a/pages/myapps/index.tsx +++ b/pages/myapps/index.tsx @@ -88,7 +88,6 @@ const MyAppsPage = () => {

Droplet

{dropletDomain ? dropletDomain : ((!dropletDomain && (dropletId !== 1)) ? ("Access by copying the IPv4 from your cloud dashboard into the address bar") : ("Local installation"))}

-

Default password: captain42. Do not forget to change it in Settings

From a46fd4e3e522c2d7bda16cfb375b909a5c0d5ffb Mon Sep 17 00:00:00 2001 From: Gardens <86159926+joingardens@users.noreply.github.com> Date: Tue, 29 Nov 2022 19:20:33 +0100 Subject: [PATCH 04/21] Update index.tsx --- pages/myapps/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/myapps/index.tsx b/pages/myapps/index.tsx index fd59619..4f93065 100644 --- a/pages/myapps/index.tsx +++ b/pages/myapps/index.tsx @@ -88,6 +88,7 @@ const MyAppsPage = () => {

Droplet

{dropletDomain ? dropletDomain : ((!dropletDomain && (dropletId !== 1)) ? ("Access by copying the IPv4 from your cloud dashboard into the address bar") : ("Local installation"))}

+

Do not forget to change the default password in Settings

From 5f4bf44feeca641cb88bada10bffb1652bc17551 Mon Sep 17 00:00:00 2001 From: Gardens <86159926+joingardens@users.noreply.github.com> Date: Tue, 29 Nov 2022 21:06:50 +0100 Subject: [PATCH 05/21] Update install.js --- pages/onboarding/local/install.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/onboarding/local/install.js b/pages/onboarding/local/install.js index 5e021e9..0217cd2 100644 --- a/pages/onboarding/local/install.js +++ b/pages/onboarding/local/install.js @@ -47,7 +47,7 @@ export default function Prerequisites() {
Once you have Docker and a public IP address, run the following in the command line:
- docker run -p 80:80 -p 443:443 -p 3000:3000 -v /var/run/docker.sock:/var/run/docker.sock -v /captain:/captain caprover/caprover + docker run -p 80:80 -p 443:443 -p 3000:3000 -v /var/run/docker.sock:/var/run/docker.sock -v /captain:/captain joingardens/gardens-engine-edge
Done! Wait a couple minutes for everything to set up, then open http://[YOUR_SERVER_IP]:3000 and log in with default password captain42. Then press "Confirm installation".
From 6dc34ac1a5d4c0924c7a8bd23c083cd9366d965f Mon Sep 17 00:00:00 2001 From: Open Work Date: Wed, 30 Nov 2022 10:56:03 +0000 Subject: [PATCH 06/21] Update landing --- components/Pricing.js | 8 ++++---- pages/apps.js | 8 ++------ 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/components/Pricing.js b/components/Pricing.js index 21002cc..923d172 100644 --- a/components/Pricing.js +++ b/components/Pricing.js @@ -125,11 +125,11 @@ export default function Pricing({ products }) { /{billingInterval}

- {product.name == "Hobby" ? ( + {product.name == "Team" ? ( <> 7 days free trial
- For small teams and hobbyists. + For teams and non-coders