Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-09-30T20:09:11.000Z (over 2 years ago)
- Last Synced: 2023-03-23T12:14:15.650Z (almost 2 years ago)
- Topics: php, slack
- Language: PHP
- Size: 294 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
![sample screen shot](sample_ss.png)
# 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
```