Skip to content

contributing to django project

portsucker edited this page Apr 17, 2015 · 5 revisions

Contributing to a Django Project

Prerequisites

  1. https://www.apple.com/au/macbook-pro/
  2. https://www.heroku.com/
  3. https://github.com/
  4. http://brew.sh/
  5. Python 2.7: brew install python
  6. (OSX) Updated command line tool for Xcode xcode-select --install *(Ubuntu) sudo apt-get install libxml2-dev libxslt1-dev
  7. http://postgresapp.com/ Make sure you can run the Postgres executables:
pg_config
# ....

Otherwise add /Applications/Postgres.app/Contents/Versions/{version}/bin/ to your path

  1. https://virtualenvwrapper.readthedocs.org/en/latest/
  2. https://toolbelt.heroku.com/
  3. https://github.com/kennethreitz/autoenv

Assumptions

${PROJECT} is the name of your project for all of the steps below

Joining an existing project

  • New Virtual Environment:
mkvirtualenv ${PROJECT}
cdvirtualenv
git clone [email protected]:mattharley/acs.git  //SSH
cd ${PROJECT}

Warning: If you clone with https it is very difficult to then switch over to an SSH connection!! If you intend to use SSH then clone with SSH...

Install the project dependancies pip install -r requirements.txt

Add a remote for your local repository git remote add heroku-test https://git.heroku.com/{PROJECT}-test.git

Clone this wiki locally