Skip to content

cilinder/recipes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

recipes

A website for recipes.

The live version is available at https://recipes.si

Requirements

Python3: Install requirements using

pip install Django Pillow djangorestframework httpie django-cors-headers pyyaml uritemplate markdown django-filter

Need npm installed. The best way to manage npm versions is with nvm. Once you've installed npm you can install the frontend packages.

cd frontend; npm install;

Run app for development

First you need to create the tailwind css files.

TODO

Build static files

Compile typescript to js

npx tsc

When changing static files run

python manage.py collectstatic

Run

python manage.py runserver

Then open http://127.0.0.1:8000/recipes

Generate API schema

python manage.py generateschema --format openapi-json --file api_schema/openapi-schema.json

About

A website for recipes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages