-
Notifications
You must be signed in to change notification settings - Fork 16
Procedure
Helzibah edited this page Apr 3, 2012
·
29 revisions
- Fork this repository to create your own copy.
- Set up a virtual environment
-
With virtualenv:
virtualenv -p $(which python2) ~/path/csbot
cd ~/path/csbot
git clone [email protected]:YOURUSERNAME/csbot.git src
pip install -r src/pip_requirements.txt -
Or with virtualenvwrapper: (remember to add WORKON_HOME=
/PYTHONENVS to .bashrc)/PYTHONENVS mkvirtualenv -p $(which python2) csbot cd $WORKON_HOME/csbot git clone [email protected]:YOURUSERNAME/csbot.git src pip install -r src/pip_requirements.txt`
export WORKON_HOME=
-
- Branch early, branch often!
- Commit early, commit often! With sensible commit messages!
- Follow PEP 8 Style Guide for all Python code. Highlights:
- 4 spaces for indentation
- 'lower_case' for modules, functions, variables
- 'CamelCase' for classes and exceptions
- 'CAPITAL_LETTERS' for constants
- Recommended reading: GitHub Flow
- Issue a pull request to csyork/csbot:master