From 5564ffb20798d45bf87910feea39bf02b0d2dee4 Mon Sep 17 00:00:00 2001 From: Pratyush Desai Date: Fri, 24 Dec 2021 20:08:42 +0530 Subject: django init --- api/README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 api/README.md (limited to 'api/README.md') diff --git a/api/README.md b/api/README.md new file mode 100644 index 0000000..cee5886 --- /dev/null +++ b/api/README.md @@ -0,0 +1,28 @@ +# Api + +## Develop + +* Assumes you have `git clone`'d the repositiory. + +### Deps and Dev Env + +* Developed on `python 3.10.1` +* Setting up a `venv` +* ensure `django 4` is installed +* `cd /api/` +* `django startproject api` +* Ensure deps are in order. `pip install -r requirements.txt` +* `source .env` (called by `settings.py`) + +## Config + +Primaril refers to the envars and configs defined in `settings.py`. + +Such as: + +* added library declaration +* Authentication middleware +* Storage of static and media files +* Access origin control +* Logging +* etc.. -- cgit v1.2.3