Skip to content
This repository has been archived by the owner on Oct 22, 2019. It is now read-only.

Latest commit

 

History

History
25 lines (20 loc) · 1.11 KB

README.md

File metadata and controls

25 lines (20 loc) · 1.11 KB

Slackbot as a Service

##Manage your Slack with ease

slashrocket - Slack

Note: SaaS requires PostgreSQL in development and production. Be sure to configure PostgreSQL before running SaaS.

Getting Started:

  • Run bundle install
  • Run figaro install
  • Generate a Slack Web API token
  • Add slack_token: "<Your API Token Here>" to config/application.yml
  • Run rake db:setup to setup a new database
  • Run rake slack_users:import_all to pull in current users

After running rake db:setup, you'll have a default user you can log in with. The email address for this user is [email protected] and the password is foobar. If this will be a publicly accessible service, be sure to remove this account from the Rails console and create your own.

To remove the initial user and create a new one:

  • rails c
  • User.delete(1)
  • myNewUser = User.new
  • myNewUser.email = "[email protected]"
  • myNewUser.password = "your_password"
  • myNewUser.password_confirmation = "your_password"
  • myNewUser.save