It is a beautiful Django image simple to configure, run and deploy, it was made with a lot of love and dedication for all human beings who love simple things.
this project contains the next libraries
- Django==2.2
- uWSGI==2.0.18
- django-environ==0.4.5
- django-extensions==2.2.9
- django-rest-swagger==2.2
- djangorestframework==3.11.0
- djangorestframework-gis==0.15
- djangorestframework-jwt==1.11.0
- django-leaflet==0.26.0
- django-map-widgets==0.3.0
- djangorestframework-simplejwt==4.4.0
- psycopg2==2.8.4
- postgis==1.0.4
- Pillow==7.1.1
- django-storages==1.9.1
- boto3==1.12.39
- botocore==1.15.39
- s3transfer==0.3.3
and more pretty stuff like
- Docker compose
- Postgis
- Geo Django
- Leaflet and Google Maps
- Nginx with django static/media files support
- Static files working fine !
- AWS S3 Storage
- Natural structure, like you weren't using docker
- Production deploy steps click here
Simple and beautiful structure
to run the image follow the next instructions, just for local environment
cp .env_template .env
docker-compose build
docker-compose up -d
docker-compose exec backend python3 manage.py migrate
docker-compose restart beat
docker-compose exec backend python3 manage.py createsuperuser
docker-compose exec backend python3 manage.py collectstatic
first, we need to setup the common stuff to active the autocomplete adding the Django Support choosing the manage.py and settings.py files location.
now we need add the python interpreter what live inside the docker container to the project
Go to preferences and to click in Interpreter then in Project Interpreter and press add
now, do click in Docker, select the image what contains the project name, then write python3 and press ok
press apply and ok, done!.
now we have configured the interpreter what lives inside our Docker Container in our project
Please, DON'T UPDATE THE DEPENDENCIES ! unless necessary
if you wanna deploy this project in production, go to here
Thanks for using my project, if you need something else, feel you free to contact me me@osw4l.com