- Clear feature ownership
- Module usage predictibility (refactoring, maintainence, you know what's shared, what's not, etc)
- CI runs only the tests that matter (future)
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 sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
This guide assumes a fresh install of Mac OSX 10.6 Snow Leopard.
See https://github.com/mxcl/homebrew/wiki/Installation for details.
This guide assumes a fresh install of Mac OSX 10.6 Snow Leopard or 10.7 Lion.
Follow https://github.com/mxcl/homebrew/wiki/installation to get the basic setup up and running. (the default, not the alternate installs)
Run these commands in your console, they will edit necessary files:
echo 'basename "$VIRTUAL_ENV" > ~/.last_venv' >> $VIRTUALENVWRAPPER_HOOK_DIR/postactivate
echo 'rm ~/.last_venv' >> $VIRTUALENVWRAPPER_HOOK_DIR/postdeactivate
touch ~/.last_venv
Then open your ~/.bashrc
or ~/.profile
or whatever your shell uses and append:
if [ -e ~/.last_venv ]; then
workon cat ~/.last_venv
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
""" | |
This fabric file makes setting up and deploying a django application much | |
easier, but it does make a few assumptions. Namely that you're using Git, | |
Apache and mod_wsgi and your using Debian or Ubuntu. Also you should have | |
Django installed on your local machine and SSH installed on both the local | |
machine and any servers you want to deploy to. | |
_note that I've used the name project_name throughout this example. Replace | |
this with whatever your project is called._ |