A full auth django project with djoser. In this project i used the djoser lib to make a full authentication with JWT Tokens, OAuth and Email Verification.
- Ready to use with your django/nextjs project.
- Combined with NGINX, Celery, Tailwind to handle relevent things.
- Alpine based images are used, so that sizes of the images are compartively low.
- Now comes built it with Numpy, Scipy and Pandas support. So you can integrate your datascience projects with this. Instructions for integrating these libraries are also shared in the
Dockerfile. - With Numpy, Pandas and Scipy dependecies installed, the total size is 657MB(may differ if you have more packages). Without these, size reduces to 390MB.
- Now comes with support to install Pillow using django.
- First run
make buildinside root directory. - Then run
make upto start up the project for first time.
Checkout the commands section for more usage.
A default Django project resides in src directory. So, when you start the project, you will see the following screen in 8000 port:
To use this project, run this commands:
make upto build the project and starting containers.make buildto build the project.make startto start containers if project has been up already.make stopto stop containers.make shell-webto shell access web container.make shell-dbto shell access db container.make shell-nginxto shell access nginx container.make logs-webto log access web container.make logs-dbto log access db container.make logs-nginxto log access nginx container.make collectstaticto put static files in static directory.make log-webto log access web container.make log-dbto log access db container.make log-nginxto log access nginx container.make restartto restart containers.