GithubHelp home page GithubHelp logo

silexlabs / editor.silex.me Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 3.0 822 KB

This repo holds the code for the free public Silex instance hosted by Silex Labs foundation

JavaScript 93.62% Dockerfile 6.38%

editor.silex.me's Introduction

Silex instances by Silex Labs

This repo holds the code for the public Silex instance hosted for free by Silex Labs foundation and The v3 instance too.

This is also a good example on how to customize Silex. And it has a Dockerfile for easy deployment

Features

This code adds features to the editor specific to our instance (in index.js and index.pug):

  • Multi-site with the Dashboard plugin
  • Automatic deployment to CapRover (see the captain-definition file and the file .github/workflows/caprover.yml)
  • Onboarding: Send an email with brevo the 1st time we see a user + use Silex notification system to guide users through the first steps
  • Enable or disable cloud services and hosting providers with env vars
  • Analytics: add a tag in Silex editor

Environment variables

You can set the following environment variables to customize the instance:

Name Description Type Default value
STORAGE_CONNECTORS List of storage connectors to enable ftp or gitlab or gitlab2 or fs ftp,gitlab,gitlab2
HOSTING_CONNECTORS List of hosting connectors to enable ftp or gitlab or gitlab2 or fs or download ftp,gitlab,gitlab2,download
SILEX_FS_ROOT Root folder for the file system storage string current directory + /silex/storage/
SILEX_FS_HOSTING_ROOT Root folder for the file system hosting string current directory + /silex/hosting/
FTP_STORAGE_PATH Path to the FTP storage string /silex/storage/
FTP_HOSTING_PATH Path to the FTP hosting string /silex/hosting/
GITLAB_DISPLAY_NAME Display name for the Gitlab storage string Gitlab
GITLAB_DOMAIN Domain of the Gitlab server, e.g https://gitlab.com string required with gitlab connector
GITLAB_CLIENT_ID Client ID for the Gitlab OAuth string required with gitlab connector
GITLAB_CLIENT_SECRET Client secret for the Gitlab OAuth string required with gitlab connector
GITLAB2_DISPLAY_NAME Display name for the 2nd Gitlab storage string Gitlab2
GITLAB2_DOMAIN Domain of the 2nd Gitlab server, e.g https://gitlab.com string required
GITLAB2_CLIENT_ID Client ID for the 2nd Gitlab OAuth string required
GITLAB2_CLIENT_SECRET Client secret for the 2nd Gitlab OAuth string required

Support

Please use the main Silex repository for docs and issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.