Build Django Apps on Google Cloud With PyCharm and Cloud Code
In this tutorial, you’ll learn how to build and run your applications both in a local Kubernetes cluster (Docker Desktop or Minikube) and remotely in Google Kubernetes Engine using Cloud Code and PyCharm. This will allow you to focus on coding, with the Google Cloud Code plugin taking care of the rest.
The tutorial will cover the following topics:
- Introduction to remote development: You’ll learn how to set up your development environment and connect to a remote server using PyCharm.
- Installing the GCloud CLI & SDK: You’ll learn how to install the Google Cloud CLI and SDK, which are essential tools for managing and deploying applications on Google Cloud.
- Creating a new project in PyCharm using the Cloud Code plugin: You’ll learn how to use the Cloud Code plugin for PyCharm to create a new Django project and connect it to your Google Cloud project.
- Writing REST APIs using the Django REST framework: You’ll learn how to use the Django REST framework to create REST APIs that can be used to interact with your data.
- Setting up and running apps in Google Kubernetes Engine (GKE): You’ll learn how to deploy your Django REST API to Google Kubernetes Engine (GKE), which is a managed Kubernetes service that makes it easy to deploy and scale containerized applications.
If you prefer to read text instead of watching videos, here you can find a text version of this tutorial.
If you are a Python or Django developer who wants to improve their developer productivity, then you should definitely check out PyCharm and Cloud Code.
Here are links to the resources you’ll need:
- Cloud Code for PyCharm: https://plugins.jetbrains.com/plugin/8079-cloud-code
- Google Cloud Platform Console: https://console.cloud.google.com/
- PyCharm: https://www.jetbrains.com/pycharm/
I hope this blog post has helped you to learn more about PyCharm and Cloud Code. If you have any questions, please feel free to leave a comment below.
Subscribe to Blog updates
Thanks, we've got you!
Building APIs With Django REST Framework
The tutorial demonstrates how to use Python and Django REST framework in PyCharm to develop APIs
Meet the PyCharm team at EuroPython!
Meet the PyCharm team at Europython 2023! Join a talk by Paul Everitt, Q&A for data science newbies by Jodie Burchell, experts from Anaconda, Hugging face and come by the JetBrains booth to see what's new in PyCharm!
Buy PyCharm. Support Django.
This July, we’re offering new users a 30% discount for PyCharm Professional annual subscriptions. We’ll also donate all of the proceeds from this campaign to the Django Software Foundation.