A simple webapp for code review.
- Python 2.7
- Django 1.5
- psycopg2
- PostgreSQL 9.1
- (optionally) gunicorn
Create Postgres superuser da
and database dc
:
sudo -u postgres createuser -s da
createdb -U da dc
Clone the repository and initialize the database structure:
cd ~
git clone https://github.com/a-kr/diffcommenter.git
cd diffcommenter/diffserver
cp settings_local.example.py settings_local.py
make syncdb
make test
make runserver
Open http://localhost:8200/ in your browser and see if it works.
make run
make stop
The server will run on port 8200.
Start the diffcommenter server (see above), open the main page in browser and follow the instructions displayed there.
Default user: da:111111