- Notifications
You must be signed in to change notification settings - Fork14
src-d/sourced-ui
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Web UI forsource{d} Community Edition (CE).
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.
You can configure the Docker image using the following environment variables:
| Environment Variable | Description |
|---|---|
ADMIN_LOGIN | Username for the admin user |
ADMIN_FIRST_NAME | First name of the admin user |
ADMIN_LAST_NAME | Last name of the admin user |
ADMIN_EMAIL | Email of the admin user |
ADMIN_PASSWORD | Password of the admin user |
BBLFSH_WEB_HOST | Hostname for bblfsh-web |
BBLFSH_WEB_PORT | Port for bblfsh-web |
GITBASE_HOST | Hostname for Gitbase |
GITBASE_PORT | Port for Gitbase |
GITBASE_DB | Database name for Gitbase |
GITBASE_USER | Username for Gitbase |
GITBASE_PASSWORD | Password for Gitbase |
POSTGRES_HOST | Hostname for Superset DB |
POSTGRES_PORT | Port for Superset DB |
POSTGRES_DB | Database for Superset DB |
POSTGRES_USER | Username for Superset DB |
POSTGRES_PASSWORD | Password for Superset DB |
REDIS_HOST | Hostname for Redis |
REDIS_PORT | Port for Redis |
SUPERSET_ENV | Environment Superset runs inproduction/celery/development |
SUPERSET_NO_INIT_DB | Does not run the database init script if set totrue |
SYNC_MODE | Adds metadata datasource and welcome dashboard if set totrue |
METADATA_HOST | Hostname for metadata DB (whenSYNC_MODE is set totrue) |
METADATA_PORT | Port for metadata DB (whenSYNC_MODE is set totrue) |
METADATA_USER | Username for metadata DB (whenSYNC_MODE is set totrue) |
METADATA_PASSWORD | Password for metadata DB (whenSYNC_MODE is set totrue) |
METADATA_DB | Database name for metadata (whenSYNC_MODE is set totrue) |
OAUTH_PROVIDER | Use OAuth provider for authorization. Currently onlygoogle |
OAUTH_CONSUMER_KEY | OAuth provider consumer key (aka client_id) |
OAUTH_CONSUMER_SECRET | OAuth provider consumer secret (aka client_secret) |
OAUTH_REGISTRATION_ROLE | The role for newly registered users using OAuthAdmin/Alpha/Gamma |
To see the differences between roles inOAUTH_REGISTRATION_ROLE variable consultofficial superset documentation.
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.
All activities under source{d} projects are governed by thesource{d} code of conduct.
Apache License Version 2.0, seeLICENSE.
About
source{d} UI
Resources
License
Code of conduct
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Contributors9
Uh oh!
There was an error while loading.Please reload this page.