Skip to content

Stackato-Apps/django-gtd

Repository files navigation

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.