madhusudanbabar / recipe-hr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django Recipe API

A recipe sharing platform built using DRF

Development

To start the development server follow these steps:

  • Create a virtulenv python -m venv .venv
  • source the virtualenv source .venv/bin/activate
  • install the packages pip install -r requirements.txt
  • start the development server python manage.py runserver
  • ensure that you have running postgres instance
  • if you get migration related warnings, run python manage.py migrate

Deployment

To deploy the app on render, follow these steps:

  • Sign up/log in to render
  • create a new web service
  • add build command pip install -r requirements.txt && python manage.py migrate
  • add start command gunicorn config.wsgi:application --bind 0.0.0.0:$PORT

About

License:MIT License


Languages

Language:Python 77.7%Language:PowerShell 14.2%Language:Shell 5.1%Language:HTML 1.7%Language:Dockerfile 1.2%