Skip to content
This repository has been archived by the owner. It is now read-only.
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
api
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Slats

Requirements:

  • Python 3.6
  • pip/pipenv

Usage:

First you'll have to get a slack token for your team. Write it in a file named slack_emojis/secrets.py :

TOKEN = "your-token-07655"

To install and launch the app :

pip install --user pipenv
pipenv shell
pipenv install
# create database
python manage.py migrate
# first collect of emojis
python manage.py collect_emojis
# launch django
python manage.py runserver

Eventually you'll want to run collect_emojis regularly. Using crontab :

# to get the project's python interpreter path
pipenv --venv
crontab -e

Write the path you just got here:

0 * * * * /path/to/env/python /path/to/manage.py collect_emojis

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published