16
I am a developer at BitNami, you may want to take a look at our free Django AMI. It is compatible with the AWS free tier.
- [Django]-Warning: Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'
- [Django]-Django Footer and header on each page with {% extends }
- [Django]-Get list item dynamically in django templates
- [Django]-Django/DRF โ 405 Method not allowed on DELETE operation
- [Django]-Switching to PostgreSQL fails loading datadump
- [Django]-How to pass django rest framework response to html?
0
The simplest approach is to simply spin up an EC2 instance, install nginx (mysql? and any other dependencies you might have) then follow the steps on the django site: https://code.djangoproject.com/wiki/DjangoAndNginx to deploying it. This basically goes through setting up a script to run โpython [your app directory]/manage.py runfcgi host=127.0.0.1 port=8080โ and setting up nginx to proxy requests to that port.
Another approach is to simply use a 3rd party tool like http://nudow.com to automate the deployment. For now the initial deployment I believe has to be done manually, however subsequent deployments can be done with one click. (and has other benefits like versioning)
- [Django]-Django-Forms with json fields
- [Django]-Extend base.html problem
- [Django]-Django-nonrel + Django-registration problem: unexpected keyword argument 'uidb36' when resetting password
- [Django]-Negating a boolean in Django template
- [Django]-How to test auto_now_add in django
- [Django]-Problems extend change_form.html in django admin
-1
If you wish to deploy your Django app ASAP, without scratching your head :
You can use this script that I wrote:
Safely deploy your Django app in less 1 minute!
Instructions
Installing the DeployDjango script
$ wget https://raw.githubusercontent.com/yask123/DeployDjango/master/deploydjango.sh && chmod +x deploydjango.sh
From your Django Appโs root directory (Where manage.py file exists).
$ sudo ./deploydjango.sh project_name
Done!
Visit http://ip-address-of-your-instance to see your web app live!
- [Django]-Django 1.3.1 compilemessages. Error: sh: msgfmt: command not found
- [Django]-How can I get MINIO access and secret key?
- [Django]-Django-rest-framework returning 403 response on POST, PUT, DELETE despite AllowAny permissions