Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Latest commit

 

History

History
34 lines (25 loc) · 1.83 KB

README.md

File metadata and controls

34 lines (25 loc) · 1.83 KB

Slack-Inviter

A slack self-invite service written in PHP with random and fancy background

Screenshots

screenshot 1

screenshot 2

Building

1. Deploy on Heroku

Deploy Button

2. Deploy on your server

  1. Just clone this repo: git clone ssh://[email protected]/fateyan/slack-inviter.git
  2. Then run composer install
  3. Edit .env.example and rename it to .env

Environment Variables:

Key Description
SLACK_TOKEN Slack token, it can be found on https://api.slack.com/web
SLACK_DOMAIN Your team name of Slack, {team_name}.slack.com
SLACK_CHANNELS Separate by comma[,], it can be found on https://api.slack.com/methods/channel.list/test
SLACK_HEADER Title for invite form
SLACK_SUB_HEADER Sub title for invite form
SLACK_TITLE Page title
RECAPTCHA_SITEKEY Site key for reCaptcha, you can get it from https://www.google.com/recaptcha/admin
RECAPTCHA_SECRET Secret key for reCaptcha, you can get it from https://www.google.com/recaptcha/admin
  1. There You Go~

Good Luck >_>~