Reputation: 69
I had created a web application.Front end is created by ReactJS and back-end(server side)is created by Django framework,
Here I am using PostgreSQL database.
The application is successfully running on my local machine by running both python manage.py runserver
and npm start
at a time in my terminal.
I need to deploy my entire app on google cloud using compute engine.
I already purchased a domain. I don't know how to connect these 2 platforms(Django and ReactJS) in cloud. if anyone knows deploy Django go as server-side and react as front-end in GooleCloud (using compute engine)
Upvotes: 1
Views: 1068
Reputation: 443
Even though your question is a bit broad, I think you may find these resources useful:
You could start using one of the pre-configured solutions and customize the VM by installing what you need afterwards. Or start with a blank VM and configure everything from scratch [4].
In a more general sense, this guide “Serving websites” [5] is a very good read to better understand all the options you have within Google Cloud Platform to host a website; more specifically, the section “Using virtual machines with Compute Engine” [6].
I’m assuming that you already know how to get Django and ReactJS work together, as you did it already in your local machine. I hope these articles are useful for you.
Upvotes: 2