Giter VIP home page Giter VIP logo

supportchecker's Introduction

Slack Hack Night

Installation

Requirements

MongoDB Installation

With Brew already installed you can run the following commands to install MongoDB, setup your database folder, and assign the correct permissions to it.

Note: MongoDB Installation is required but you can skip if you already have it installed.

brew install mongodb
sudo mkdir -p /data/db
sudo chown -R $(whoami): /data

Get the Code

Fork this repo onto your own github account.

In the top-right corner of this page, click Fork

Clone your forked repo to your laptop.

This will download the files into your current folder in terminal. Make certain to navigate to a folder where you want this project to live.

git clone your_forked_repo_url

Install the dependencies. Navigate to your code via terminal and command:

npm install

Additional Global Installs to make your life easier.

npm i -g nodemon

Get the Bot's Token

Obtain the Bot Token from the an Admin for your Slack. The link will be subdomain.slack.com/apps/A0F7YS25R-bots

Create an .env file on the root of your project with the token.

echo "REALTIME_SLACK_TOKEN=xoxb-............." > .env

Start Your Servers

Start your MongoDB server in a separate terminal window.

mongod

Start the bot.

nodemon src/server.js

Interacting / Testing the Bot

Interesting things the Bot Does

  • Send message to new user account that is created. (app/slack/onboard.js)
  • When the bot Starts, broadcast message (currently to #bot_test). (app/slack/default_connection.js)
  • Respond to reaction emoji added (app/slack/personality.js)
  • constantly ping heroku to prevent a sleep (app/app.js)

How to Release

Resources

supportchecker's People

Contributors

reactivepixel avatar studnicky avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.