1

Django on a production server

 2 years ago
source link: https://www.guguweb.com/2020/05/08/django-on-a-production-server/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Django on a production server

Is your Django project ready for production? Follow these guides to bring your Django project on a production server!

There are many good tutorials out there for learning Django and developing projects locally. But I think that simple tutorials for production deployment is somewhat lacking. In this guide I'll try to fill this gap a little bit. 😉

In the last months I wrote some tutorials that will show you how to bring your Django project on production. Here is a summary of each tutorial.

1. Django NGINX: deploy your Django project on a production server

This tutorial will give you the basics on deployment using the NGINX webserver and uWSGI application server.

Django NGINX: deploy your Django project on a production server
Django NGINX: deploy your Django project on a production server
Read more...

2. How to deploy a Django project in 15 minutes with Ansible

This tutorial will make a step further and will show you how to leverage the power of Ansible to automate all the steps needed for a production deployment.

How to deploy a Django project in 15 minutes with Ansible
How to deploy a Django project in 15 minutes with Ansible
Read more...

3. Bitbucket Pipelines and Ansible: Continuous delivery for your Django project

If you are using Bitbucket you can automate the deployment when you push some code on your repository.

Bitbucket Pipelines and Ansible: Continuous delivery for your Django project
Bitbucket Pipelines and Ansible: Continuous delivery for your Django project
Read more...

4. Django asynchronous tasks without Celery

Did you know that uWSGI provides a production ready task queue? In this tutorial I explain how to configure and use it for your Django asyncronous tasks.

Django asynchronous tasks without Celery
Django asynchronous tasks without Celery
Read more...

Share:
You may also like:
How to add a group choice combo box in a Django user profile form
How to add a group choice combo box in a Django user profile form

Assume that you have a Django project where each user belongs to just one group, say Registered or Admin, but not both. You want to show a form in your front-end to let Admin users edit the user profiles, where each user profile is made with First name, Last name …

Read more...
A Django custom command to write model fields on an Excel file
A Django custom command to write model fields on an Excel file

Suppose you need to write down your model fields on an Excel file, for example to complement the documentation of your code. Django has built in functions to introspect models and fields of an app, and you can leverage this API to have the information you need. You can use …

Read more...
How to accept Paypal payments on your Django application
How to accept Paypal payments on your Django application

Are you developing a Django application and you want to accept payments? In this tutorial you'll learn how to integrate Django and Paypal.

Read more...
Optimize Django memory usage
Optimize Django memory usage

Sometimes the Django ORM can use a lot of RAM when dealing with very large querysets. Follow these simple methods to optimize Django memory usage.

Read more...

No Comments Yet

Type Comment Here (at least 3 chars)

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK