Django Jelastic
In this post we will be showing how to create a Django hello world in Jelastic. Our hosting provider is Reclaim Cloud. Create a local Django hello world # Make a directory with an empty README mkdir django-test cd django-test touch README.md # Create a .gitignore file curl https://www.toptal.com/developers/gitignore/api/django -o .gitignore # Initialize a git repo and rename master to main git init git add -A git commit -m 'Initial commit' git branch -m master main # Re-enter the directory so your shell prompt picks up it is in a git repo cd; cd - # Create a virtualenv and activate it virtualenv venv . venv/bin/activate # Install the django module and write the dependencies to requirements.txt pip install django pip freeze > requirements.txt # Create a new django project django-admin startproject config . # Update the SQLite database (although we won't be using this) python manage.py migrate At this point, we have Django ready for testing so let’s see if it’s working. Run python manage.py runserver and then browse to http://127.0.0.1:8000/. ...