Skip to content

Commit

Permalink
Update database
Browse files Browse the repository at this point in the history
  • Loading branch information
ddxv committed Nov 16, 2023
1 parent 4bfee33 commit db70edc
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 10 deletions.
27 changes: 17 additions & 10 deletions docs/getting_started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@

# Kafka

`./bin/kafka-topics.sh --create --topic impressions --bootstrap-server localhost:9092`
`./bin/kafka-topics.sh --create --topic clicks --bootstrap-server localhost:9092`
`./bin/kafka-topics.sh --create --topic events --bootstrap-server localhost:9092`
```sh
./bin/kafka-topics.sh --create --topic impressions --bootstrap-server localhost:9092
./bin/kafka-topics.sh --create --topic clicks --bootstrap-server localhost:9092
./bin/kafka-topics.sh --create --topic events --bootstrap-server localhost:9092
```

https://druid.apache.org/docs/latest/tutorials/

Expand All @@ -19,14 +21,19 @@ https://druid.apache.org/docs/latest/operations/security-overview

## Superset: Setup

`pip install superset pydruid`
```sh
pip install superset pydruid
export FLASK_APP=superset
export SUPERSET_CONFIG_PATH=superset/superset_config.py
superset db upgrade
superset fab create-admin
```

set `export FLASK_APP=superset`
set `export SUPERSET_CONFIG_PATH=superset/superset_config.py`
Setup your username and password for the superset admin login

`superset db upgrade`
`superset fab create-admin` > Setup your username and password for the superset admin login
`superset init`
`superset run -p 8088 --with-threads --reload`
```sh
superset init
superset run -p 8088 --with-threads --reload
```

1. Add database `druid://admin:password1@localhost:8888/druid/v2/sql`
7 changes: 7 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,12 @@ theme:
markdown_extensions:
- attr_list
- md_in_html
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences

repo_url: https://github.com/OpenAttribution/open-attribution

0 comments on commit db70edc

Please sign in to comment.