Skip to content

abysswarrior/base

Repository files navigation

Base

Base django project you can clone and use based on the modern application best practices. It will make your development and production environment similar to each other. also if you use pycharm your can use docker-compose to be your interpreter and test application through docker container.

what is included ?

  • python & django
  • django rest framework
  • drf-spectacular
  • postgres
  • dockerized

Requirements

- docker

how to set up in pycharm

Step 0 : create these nested directory in base directory

data > web

Step 1 : make src directory as a sources root of project

click on scr > mark directory as > sources root

Step 2 : enable django support from settings and set root project and setting path

support

Step 3 : set python interpreter from this path

add new interpreter > on docker compose ...

interpreter

Step 4 : select app from services and let docker build container. at the end set python path as /py/bin/python3

Step 5 : create new django server configuration like this :

server

About

A base django project with best practices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published