Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Latest commit e35087e Jun 1, 2014
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Donor9
donors Changed root directory - Sorry Jun 1, 2014
.gitignore Adding PyCharm .idea/ directory to .gitignore file Jun 1, 2014
LICENSE Initial commit Jun 1, 2014
Procfile For heroku Jun 1, 2014
README.md Update README.md Jun 1, 2014
database.sql Changed root directory - Sorry Jun 1, 2014
manage.py Changed root directory - Sorry Jun 1, 2014
requirements.txt Adding psycopg2 in reqs Jun 1, 2014

README.md

Installation

Following are the steps for creating a local development environment for Donor9:

  1. Install pip aka the cheeseshop - Python package manager

    sudo apt-get install python-pip

  2. Install virtualenv - a pakage that will create an isolated environment our project:

    sudo pip install virtualenv

  3. Create our virtualenv:

    virtualenv Donor9

  4. Activate virtualenv:

    cd Donor9 source bin/activate

  5. Install git:

    sudo apt-get install git

  6. Clone Donor9 reposiotry:

    git clone https://github.com/hacker9/Donor9.git

  7. Install requirements:

    pip install -R requirements.txt

  8. Sync DB:

    python manage.py syncdb --settings=Donor9.settings_local

  9. Run development server:

    python manage.py runserver --settings=Donor9.settings_local

  10. Rock on:

    http://localhost:8000/admin

  11. If you were using the pre-created DB, following are the login credentials:

    uname: admin pwd: admin

You can’t perform that action at this time.