A fork of http://code.google.com/p/django-gtd/ to be deployed to Stackato
Python CSS HTML
Latest commit 664d876 Oct 28, 2015 @btat btat Update manifest memory key
Permalink
Failed to load latest commit information.
gtd
static Import samples from internal git repo May 19, 2011
templates
.gitignore Ignore pyc files May 31, 2011
Procfile run the app using gunicorn Oct 3, 2013
README.md Update branding Oct 19, 2015
__init__.py
manage.py Import samples from internal git repo May 19, 2011
manifest.yml
requirements.txt execute_manager has been deprecated and now removed from django Nov 22, 2013
settings.py run the app using gunicorn Oct 3, 2013
urls.py
wsgi.py

README.md

Django GTD

A sample Getting Things Done (GTD) app using MySQL and the Django admin interface. To create projects, actions, context or make any modifications, use the Django admin URL at http://<app-url>/admin/.

Local development

pypm install -r requirements.txt
python manage.py syncdb
python manage.py migrate
python manager.py runserver

Deploying to HPE Helion Stackato

Push to the cloud, and then initialize the database:

stackato push -n

After deploying run the following to create an admin user:

stackato run --application <app_name> python manage.py createsuperuser

Visit http://gtd.stackato.local/ to see the list of tasks. Visit http://gtd.stackato.local/admin/ to modify tasks, projects and contexts.

Want to use PostgreSQL?

To use mysql instead of postgresql on production, you need to make only a few changes before pushing (or updating) your app:

  • In manifest.yml, replace mysql with postgresql under services.
  • In manifest.yml, replace mysql-python with psycopg2 under requirements.