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
#!/usr/bin/env python | |
""" Recursively walk the current working directory looking for broken | |
symlinks. If any broken symlinks are found print out a report and exit | |
with status 1. If none are found print out OK and exit with status 0. | |
""" | |
import sys | |
import os | |
print('Checking for broken symlinks...', end='') |
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
#!/bin/sh | |
hg clone https://bitbucket.org/apdavison/sumatra_server_example smtserve | |
cd smtserve | |
virtualenv venv | |
source venv/bin/activate | |
pip install -r requirements.txt | |
python manage.py syncdb | |
python manage.py runserver |