Skip to content
Container/stub site for django-todo
HTML Python CSS
Branch: master
Clone or download

Latest commit

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
project Escape notification messages (#10) Jan 11, 2020
staticfiles
.gitignore Support media uploads Apr 6, 2019
Pipfile Server version uses pypi for todo Sep 19, 2019
Pipfile.lock Server version uses pypi for todo Sep 19, 2019
README.md Update readme Apr 4, 2019
__init__.py
fabfile.py
manage.py Add existing stub site to repo Feb 11, 2018
pytest.ini Updates for pytest infrastructure Mar 26, 2018

README.md

GTD: Container/stub site for django-todo

Django-todo is a reusable app that can be plugged into any running Django project. If you don't have a handy Django project to plug it into, or just want a quick starter site to try django-todo in, this project is the reference / example host site used by the author (though you might find it handy as a generic Django starter site for other purposes as well).

Installation

clone the repository and use pipenv to create the virtual environment and install the dependencies. The instructions below assume you are using sqlite as your database, ~/dev as your development directory, and pipenv as your environment manager. Modify as needed.

pip3 install --user git+https://github.com/pypa/pipenv.git
cd ~/dev
git clone git@github.com:shacker/gtd.git
cd gtd
pipenv --python 3.6   # Initializes the virtual environment
pipenv install --dev  # Installs all dependencies
pipenv shell  # Activates the environment

Copy local.example.py to local.py and modify to match your local db credentials. In local.py:

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
    }
}

Then:

./manage.py migrate

See additional instructions in the django-todo README.

Deploy via fabric

TK...

You can’t perform that action at this time.