Slack chat bot
Project description
# Flamboi Slack API
Flameboi is CodeDevils’s Slack API bot that posts interactive messages and offers commands to users on CodeDevils’ Slack.
## How to Install
### 1) (Optional) Install Virtualenv
This is an optional step, but is reccomended to keep your local Python dependency versions separate from Flamboi’s. With many Python projects, bugs can exist in apps when versions of the same dependencies are shared globally across your code repos.
#### Linux
##### Install package
sudo apt-get install python-virtualenv
##### Activate easy installation scirpt
sudo easy_install virtualenv
##### Install pip Virtualenv
sudo pip install virtualenv
##### Ensure Virtualenv is Installed
Ensure Virtualenv is installed by calling virtualenv
> If virtualenv appears to not be installed, ensure that it is on your path. You can do this by adding the installation foler to the PATH variable within your profile. An example would be within ~/.bash_profile or ~/.bashrc, adding PATH=$PATH:~/.local/bin. > > Start an issue or post a question in CodeDevils Slack for further help in adding virtualenv to your path variable.
##### Create a directory
This directory will be used to house the enviroments on your machine. You can name this anything, and place it anywhere, for the purposes of this README it will be ~/virtualenvs/.
mkdir ~/virtualenvs
##### Create Your Enviroment
You can name this anything and place it anywhere, but for this README it will be flameboi-slack-api.
virtualenv ~/virtualenvs/flameboi-slack-api
##### Activate Your Enviroment
Do this by calling the activate file/script within your newly created vitualenv directory’s bin/ directory.
source ~/virtualenvs/flameboi-slack-api/bin/activate
#### Windows
> WIP
### 2) Install Dependencies
If you are using a virtual enviroment, ensure that you have activated your enviroment. You will know if the name of the virtualenv directory is written prior to other text within your shell.
1. cd /path/to/flameboi 1. pip3 install -r requirements.txt
## Further Reading and Documentation
### Slack Documentation
[Getting started with Slack apps](https://api.slack.com/slack-apps)
[Slack Events API documentation](https://api.slack.com/events)
[Slack Web API documentation](https://api.slack.com/web)
### Documentation for Primary Tools
[virtualenv](https://virtualenv.pypa.io/en/latest/userguide/) - virtual Python developement environment
[flask](http://flask.pocoo.org/) - Python web application framework
[python-slackclient](http://python-slackclient.readthedocs.io/en/latest/) - Python Slack API library
### Documentation for Other Helpful Tools
[slackeventsapi](https://github.com/ASU-CodeDevils/flameboi-slack-api) - All in one SlackAPI Library used in connectiontester.py
[ngrok](https://ngrok.com/docs) - Utility to expose a local webserver to the internet
[postman](https://www.getpostman.com/docs/) - Utility used to design, build, and test APIs
[Markdown CheatSheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) - For Pierson :troll:
[CodeDevils](https://codedevils.org) - This is us!
# Contributing Please see CONTRIBUTING.md for information.
# Quality of Code Please see CONTRIBUTING.md for information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Flameboi-0.0.2.dev0.tar.gz
.
File metadata
- Download URL: Flameboi-0.0.2.dev0.tar.gz
- Upload date:
- Size: 19.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67d4823f2e23703a25b5cfa4947e2742ba395094aede38827b220f35cb8ac2fa |
|
MD5 | 5b807976649847c99d4061952a2388da |
|
BLAKE2b-256 | 649fca1fd78bb48864187b20a0ed29bb669317847e4368bc893af613adafc0df |
File details
Details for the file Flameboi-0.0.2.dev0-py3-none-any.whl
.
File metadata
- Download URL: Flameboi-0.0.2.dev0-py3-none-any.whl
- Upload date:
- Size: 35.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af8fcb16b5186262d5ef811d75648b7968a8a83a0d5b69ac8b79ccd791afac15 |
|
MD5 | e864d3e43c4f66b027fed64eb297967f |
|
BLAKE2b-256 | 4ef3194739e4922fcccd30b274817fca0ecfbbb96f4ac772a8561ad84b8e9d3e |