Skip to main content

Spire: Bugout custom knowledge base

Project description

Spire

Bugout custom knowledge bases

Setup:

export BUGOUT_SLACK_[your info for slack apps]
...
export SPIRE_DB_URI="postgresql://postgres:postgres@localhost/brood_dev"
export ELASTICSEARCH_[your info for elasticsearch]
...
export BUGOUT_JOURNAL_EMOJI="beetle"
export SPIRE_API_URL="http://0.0.0.0:7475"
export BUGOUT_AUTH_URL="http://localhost:7474"
  • Copy alembic.sample.ini to alembic.dev.ini and correct field
sqlalchemy.url = postgresql://postgres:postgres@localhost/brood_dev
  • Run alembic migration
> ./alembic.sh -c alembic.dev.ini upgrade head
> ngrok http 7475
  • Run server
> ./dev.sh
  • Set slack OAuth & Permissions Redirect URLs to ngrok
https://60843a634907.ngrok.io/slack/oauth
  • Add OAuth Scopes
app_mentions:read
channels:history
channels:read
chat:write
commands
emoji:read
groups:history
groups:read
im:history
im:write
links:read
mpim:history
reactions:read
reactions:write
users.profile:read
  • Set slack Event Subscriptions Request URL to ngrok
https://60843a634907.ngrok.io/slack/event
  • Add events
app_mentions
app_uninstalled
channel_rename
emoji_changed
link_shared
message.im
reaction_added
reaction_removed
  • Run brood local server
  • Create brood user slack_installation with hard password (this user will be managing whole slack workspaces), generate token for this user and add it to environment at dev.env
export BUGOUT_INSTALLATION_TOKEN="<installation user token from brood>"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bugout-spire-0.4.2.tar.gz (110.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bugout_spire-0.4.2-py3-none-any.whl (139.8 kB view details)

Uploaded Python 3

File details

Details for the file bugout-spire-0.4.2.tar.gz.

File metadata

  • Download URL: bugout-spire-0.4.2.tar.gz
  • Upload date:
  • Size: 110.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for bugout-spire-0.4.2.tar.gz
Algorithm Hash digest
SHA256 916e41f395fd839d2b02cf346997b56adf29da15a66c2cd14e2f79ba896a79d4
MD5 73ccd3cea604853592d73e00e259d01d
BLAKE2b-256 df2fbda30451e1e97569d400db9bd4618958cb32eb4ab8f87b264e0ce39d6d62

See more details on using hashes here.

File details

Details for the file bugout_spire-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: bugout_spire-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 139.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for bugout_spire-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 054cabaa80d2f7be2e78a9f5295c72a2ecbd156bc929559d7fe76eaf5b2654ba
MD5 2c3876ee6af953f5a1d09df514b091ee
BLAKE2b-256 c17d1904a64df2f1c47adb96f12a61b7dce9e4337530e81512473bcecfddc54e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page