A Neucore service plugin to request Slack invitations.
Account updates and removal notifications are done with Neucore-Slack-Link.
- A Neucore installation.
- A MySQL database.
- Create a Slack app at https://api.slack.com/apps
- Add Bot Token Scope:
chat:write
- Install app to workspace
- Add the bot to the "NEUCORE_PLUGIN_SLACK_CHANNEL" from the config
- Create the database schema from
slack_signup.sql
.
The plugin needs the following environment variables on the Neucore server:
- NEUCORE_PLUGIN_SLACK_DB_DSN=mysql:dbname=brave_slack_signup;host=127.0.0.1
- NEUCORE_PLUGIN_SLACK_DB_USERNAME=username
- NEUCORE_PLUGIN_SLACK_DB_PASSWORD=password
- NEUCORE_PLUGIN_SLACK_CHANNEL="admin"
- NEUCORE_PLUGIN_SLACK_TOKEN="the-slack-token"
Install for development:
composer install