http://onegoose.herokuapp.com/api/v1/
The API only supports Basic authentication. Register a user either through POST
ing to the user endpoint,
or manually through the admin.
- Create a heroku app
- attach postgres
- push repo to heroku
heroku config:set env=heroku
heroku run python manage.py syncdb
heroku run python manage.py migrate
heroku restart
Create a local_settings.py
inside the one_goose
directory, and override the DATABASES to your database of choice.
DEBUG = True
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': 'database.sql',
'USER': '',
'PASSWORD': '',
'HOST': '',
'PORT': ''
}
}
Just use the django test runner:
python manage.py tests