The last todo list you'll ever need. No, really. We promise.
$ git clone https://github.com/yaymukund/tada-api.git
$ cd tada-api
$ virtualenv env --no-site-packages
$ source env/bin/activate
# This next command will take a second...
$ pip install -r requirements.txt
# Run this in another window and keep it running.
$ make db
$ make migrate
$ make app
$ open http://localhost:8000
The Makefile
has everything:
make install
- Installs prerequisites usingpip
.make app
- Start a server.make db
- Start the local postgresql server. This presumes you have installed postgres under/usr/local/var/postgres
make migrate
- Blows away all development data and then rebuilds it.make console
- Opens a convenient console that lets you quickly run commands against the database.make sql
- Openspsql
to the dev database.make test
- Runs tests usingnose
.