From aa8e6a03a1875d30d1d08491d83a94623f7fa6fa Mon Sep 17 00:00:00 2001 From: oliviermgx <73127173+oliviermgx@users.noreply.github.com> Date: Wed, 20 Nov 2024 10:54:09 +0100 Subject: [PATCH 1/3] Update silex-platform.yml Rex UI Rex from users - help improvements --- public/v4/apps/silex-platform.yml | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/public/v4/apps/silex-platform.yml b/public/v4/apps/silex-platform.yml index e23cf17b4..a61eb1831 100644 --- a/public/v4/apps/silex-platform.yml +++ b/public/v4/apps/silex-platform.yml @@ -50,17 +50,20 @@ caproverOneClickApp: description: Your client-secret for your other gitlab instance app instructions: start: |- + Silex, is a free and open source website builder in the cloud. - Create websites directly in the browser without writing code. - And it is suitable for professional designers to produce great websites without constraints. - Silex is also known as the HTML5 editor. - - More details: https://silex.me/ - For environment variables definition, see https://docs.silex.me/en/dev/options - - NB: - You can selfhost your gitlab instance too so that you will have a full selfhosted web builder. - You probably want to use a CMS like Wordpress or others, you can also selfhost it. + Create websites directly in the browser without writing code. + And it is suitable for professional designers to produce great websites without constraints. + Silex is also known as the HTML5 editor. + + You are installing a Docker image generated from this silex-platform source code https://github.com/silexlabs/silex-platform + For your Gitlab App client id and secret and your redirect URL see https://github.com/silexlabs/silex-platform?tab=readme-ov-file#environment-variables) + For environment variables definition, see https://docs.silex.me/en/dev/options + + More details: https://silex.me/ + + NB: You can selfhost your gitlab instance too so that you will have a full selfhosted web builder. + You probably want to use a CMS like Wordpress or others, you can also selfhost it. See https://docs.silex.me/en/user/cms end: |- From f3e75f6f2f92a94db7f4f8d87a2f5bd7188ae16f Mon Sep 17 00:00:00 2001 From: oliviermgx <73127173+oliviermgx@users.noreply.github.com> Date: Wed, 20 Nov 2024 11:08:13 +0100 Subject: [PATCH 2/3] Update silex-platform.yml rex UI rex from users for a better inline help From b8299341cb11b27550c92c0d20887d7bc1730c7c Mon Sep 17 00:00:00 2001 From: Olivier Date: Wed, 20 Nov 2024 11:24:01 +0100 Subject: [PATCH 3/3] rex-users --- public/v4/silex-platform.yml | 75 ++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 public/v4/silex-platform.yml diff --git a/public/v4/silex-platform.yml b/public/v4/silex-platform.yml new file mode 100644 index 000000000..a61eb1831 --- /dev/null +++ b/public/v4/silex-platform.yml @@ -0,0 +1,75 @@ +captainVersion: 4 +services: + '$$cap_appname': + image: silexlabs/silex-platform:$$cap_version + environment: + SILEX_URL: https://$$cap_appname.$$cap_root_domain + STORAGE_CONNECTORS: $$cap_storage_connector + HOSTING_CONNECTORS: $$cap_hosting_connector + GITLAB_DOMAIN: https://gitlab.com + GITLAB_CLIENT_ID: $$cap_gitlab_client_id + GITLAB_CLIENT_SECRET: $$cap_gitlab_client_secret + GITLAB2_DOMAIN: $$cap_gitlab2_domain + GITLAB2_CLIENT_ID: $$cap_gitlab2_client_id + GITLAB2_CLIENT_SECRET: $$cap_gitlab2_client_secret + GITLAB_SCOPE: 'api read_user' + GITLAB_TIMEOUT: 5000 + caproverExtra: + containerHttpPort: '6805' +caproverOneClickApp: + variables: + - id: '$$cap_version' + label: silex-platform Version + defaultValue: 'v1.0.162' + description: Check out their Docker page for the valid tags https://hub.docker.com/r/silexlabs/silex-platform/tags + validRegex: "/^([^\\s^\\/])+$/" + - id: '$$cap_storage_connector' + label: STORAGE_CONNECTOR + defaultValue: 'gitlab' + description: Storage connector you want to use should be one or more of following gitlab,ftp,gitlab2 (separated with comma but no space) + validRegex: '/^((gitlab|ftp|gitlab2)\,?)*$/' + - id: '$$cap_hosting_connector' + label: HOSTING_CONNECTOR + defaultValue: 'gitlab,download' + description: Hosting connector you want to use should be one or more of following gitlab,ftp,gitlab2,download (separated with comma but no space) + validRegex: '/^((gitlab|ftp|gitlab2|download)\,?)*$/' + - id: '$$cap_gitlab_client_id' + label: GITLAB_CLIENT_ID + description: Your client-id for your gitlab app (see https://docs.gitlab.com/ee/integration/oauth_provider.html#create-a-user-owned-application) + - id: '$$cap_gitlab_client_secret' + label: GITLAB_CLIENT_SECRET + description: Your client-secret for your gitlab app (see https://docs.gitlab.com/ee/integration/oauth_provider.html#create-a-user-owned-application) + - id: '$$cap_gitlab2_domain' + label: GITLAB2_DOMAIN + description: Domain for your other gitlab instance (e.g. https://framagit.org) + - id: '$$cap_gitlab2_client_id' + label: GITLAB2_CLIENT_ID + description: Your client-id for your other gitlab instance app + - id: '$$cap_gitlab2_client_secret' + label: GITLAB2_CLIENT_SECRET + description: Your client-secret for your other gitlab instance app + instructions: + start: |- + + Silex, is a free and open source website builder in the cloud. + Create websites directly in the browser without writing code. + And it is suitable for professional designers to produce great websites without constraints. + Silex is also known as the HTML5 editor. + + You are installing a Docker image generated from this silex-platform source code https://github.com/silexlabs/silex-platform + For your Gitlab App client id and secret and your redirect URL see https://github.com/silexlabs/silex-platform?tab=readme-ov-file#environment-variables) + For environment variables definition, see https://docs.silex.me/en/dev/options + + More details: https://silex.me/ + + NB: You can selfhost your gitlab instance too so that you will have a full selfhosted web builder. + You probably want to use a CMS like Wordpress or others, you can also selfhost it. + See https://docs.silex.me/en/user/cms + + end: |- + silex-platform has been successfully deployed! + Your service is available at http://$$cap_appname.$$cap_root_domain + displayName: silex-platform + isOfficial: true + description: Silex is an online tool for visually creating static sites with dynamic data. With the free/libre spirit of internet, together. + documentation: See https://silex.me/resources/