This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var https = require('https'); | |
// CONFIGURATION ####################################################################################################### | |
var token = ''; | |
var delay = 300; // delay between delete operations in millisecond | |
// GLOBALS ############################################################################################################# | |
var baseApiUrl = 'https://slack.com/api/'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from fabric.api import sudo | |
def deploy(): | |
# stop gunicorn | |
sudo("supervisorctl stop ehom") | |
# update site files | |
sudo('cd /home/http/ehom/ehom-site; git reset --hard HEAD; git pull') | |
# update dependencies |