Slack is great, it would be better if you can easily back-up all Slack chat history into your secured host automatically and help browsing history easily .
- python 2.7
- virtualenv
If you want to test locally, you should install all modules in requirements.txt into your virtualenv.
git clone [email protected]:suoinguon/slack-backup.git
cd slack-backup
heroku create
git push heroku master
heroku run python manage.py migrate
https://api.slack.com/applications
heroku config:set SLACK_CLIENT_ID=[your_client_id]
heroku config:set SLACK_CLIENT_SECRET=[your_client_secret]
heroku addons:add sendgrid:starter
heroku addons:add scheduler
Open the scheduler
heroku addons:open scheduler
https://scheduler.heroku.com/dashboard
Add follow in command into your heroku schedule, set frequency to "Every 10 minutes"
python manage.py parse_channels
heroku open
hong (at) vietnamdevelopers.com