I have created a project using with Django 1.10.5 and python 3.6, now I need to deploy this project on google compute engine.I have googled a lot but couldn't find any clear guide to deploy my Django app on compute engine.
What I have tried:
- Create a compute engine instance
- Install python 3.6 (But not succeded that's why using pre-installed python 3.5.2)
- Setup pip and virtualenv
- Create a virtualenv and clone my project from GitHub
- Install all requirements from requirements.txt
- now when I try to run my app as
python manage.py runserver
from my directory, it says :
Django version 1.10.5, using settings 'brain.settings'
Starting development server at
http://127.0.0.1:8000/
Quit the server with CONTROL-C.
- when I visit
http://127.0.0.1:8000/
doesn't load any page.
How can I deploy my Django 1.10 & Python 3.6 app on google compute engine? Help me, please! Thanks in advance!
127.0.0.1
with the public IP of your GCP instance – Thomas Schwärzl