https://github.com/uzulla/slack-auto-invitation-form.php
Simple auto slack invites tool.
https://github.com/uzulla/slack-auto-invitation-form.php
php slack
Last synced: 9 months ago
JSON representation
Simple auto slack invites tool.
- Host: GitHub
- URL: https://github.com/uzulla/slack-auto-invitation-form.php
- Owner: uzulla
- Created: 2016-05-10T13:35:36.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-09-09T20:54:26.000Z (almost 2 years ago)
- Last Synced: 2025-09-27T06:26:52.251Z (9 months ago)
- Topics: php, slack
- Language: PHP
- Size: 302 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Slack invitation request form.
## sample screen shot

# setup
```
$ git clone https://github.com/uzulla/slack-auto-invitation-form.php.git
$ cd slack-auto-invitation-form.php
$ composer install
$ cp config.sample.php config.php
$ vi config.php
$ php -S 127.0.0.1:8080 -t public # or as you like
```
# build docker image and run
```
$ composer install
$ docker build -f docker/Dockerfile -t you/fill_me:latest .
$ docker run -e TEAM_SUB_DOMAIN=fill_me -e SLACK_API_TOKEN=xoxp-fill_me -p 8080:80 you/fill_me:latest
```
# deploy to GAE
```
$ vi app.yaml
# test
$ /usr/local/bin/dev_appserver.py .
# deploy
$ /usr/local/bin/appcfg.py -V v1 update ./
```
# deploy to heroku
```
$ cp config.docker.php config.php
$ composer update
$ git add -f config.php
$ git add composer.lock
$ git commit
# create an app if you don't have
$ heroku apps:create app-name
$ heroku buildpacks:set heroku/php
# set config vars
$ heroku config:set TEAM_SUB_DOMAIN=fill_me
$ heroku config:set SLACK_API_TOKEN=xoxp-fill_me
# deploy
$ git push heroku master
```