django-nutrition is a Django app to track calories
-
Add "nutrition" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ..., "django_nutrition", ]
-
Include the nutrition URLconf in your project urls.py like this
path("nutrition/", include("django_nutrition.urls")),
-
Run
python manage.py migrate
to create the models. -
Start the development server and create one or more users.
-
Visit the
/nutrition/
URL to manage nutrition information.
to update the style bundle, from within the django_nutrition
directory:
npm install
npm run build:css
then commit django_nutrition/state/nutrition/styles.css