Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

source{d} UI

License

NotificationsYou must be signed in to change notification settings

src-d/sourced-ui

Web UI forsource{d} Community Edition (CE).

Description

This repository contains the code for thesrcd/sourced-ui docker image. This image is based onApache Superset, and contains the following additions:

  • An extra tab, UAST, to explore bblfsh parsing results.
  • SQL Lab contains a modal dialog to visualize columns that contain UAST.
  • source{d} branding.
  • Loading of default dashboards on bootstrap.
  • Creation of a default user on bootstrap,admin/admin.
  • Backport an upstream fix for Hive Database connection (#21).
  • Cancel database queries on stop (#35).
  • Creates datasources for gitbase and metadata db on bootstrap

The image is designed to be deployed as two containers, one withSUPERSET_ENV=production and the other one withSUPERSET_ENV=celery. Take a look at the docker-compose.yml file in thesrc-d/sourced-ce repository for more details.

Environment Variables

You can configure the Docker image using the following environment variables:

Environment VariableDescription
ADMIN_LOGINUsername for the admin user
ADMIN_FIRST_NAMEFirst name of the admin user
ADMIN_LAST_NAMELast name of the admin user
ADMIN_EMAILEmail of the admin user
ADMIN_PASSWORDPassword of the admin user
BBLFSH_WEB_HOSTHostname for bblfsh-web
BBLFSH_WEB_PORTPort for bblfsh-web
GITBASE_HOSTHostname for Gitbase
GITBASE_PORTPort for Gitbase
GITBASE_DBDatabase name for Gitbase
GITBASE_USERUsername for Gitbase
GITBASE_PASSWORDPassword for Gitbase
POSTGRES_HOSTHostname for Superset DB
POSTGRES_PORTPort for Superset DB
POSTGRES_DBDatabase for Superset DB
POSTGRES_USERUsername for Superset DB
POSTGRES_PASSWORDPassword for Superset DB
REDIS_HOSTHostname for Redis
REDIS_PORTPort for Redis
SUPERSET_ENVEnvironment Superset runs inproduction/celery/development
SUPERSET_NO_INIT_DBDoes not run the database init script if set totrue
SYNC_MODEAdds metadata datasource and welcome dashboard if set totrue
METADATA_HOSTHostname for metadata DB (whenSYNC_MODE is set totrue)
METADATA_PORTPort for metadata DB (whenSYNC_MODE is set totrue)
METADATA_USERUsername for metadata DB (whenSYNC_MODE is set totrue)
METADATA_PASSWORDPassword for metadata DB (whenSYNC_MODE is set totrue)
METADATA_DBDatabase name for metadata (whenSYNC_MODE is set totrue)
OAUTH_PROVIDERUse OAuth provider for authorization. Currently onlygoogle
OAUTH_CONSUMER_KEYOAuth provider consumer key (aka client_id)
OAUTH_CONSUMER_SECRETOAuth provider consumer secret (aka client_secret)
OAUTH_REGISTRATION_ROLEThe role for newly registered users using OAuthAdmin/Alpha/Gamma

To see the differences between roles inOAUTH_REGISTRATION_ROLE variable consultofficial superset documentation.

Contribute

Contributions are more than welcome. In theContributing Guidelines you will find more info about how to contribute, build the ui, or run it for development with hot reloading.

Code of Conduct

All activities under source{d} projects are governed by thesource{d} code of conduct.

License

Apache License Version 2.0, seeLICENSE.


[8]ページ先頭

©2009-2025 Movatter.jp