Self-paced

Explore our extensive collection of courses designed to help you master various subjects and skills. Whether you're a beginner or an advanced learner, there's something here for everyone.

Bootcamp

Learn live

Join us for our free workshops, webinars, and other events to learn more about our programs and get started on your journey to becoming a developer.

Upcoming live events

Learning library

For all the self-taught geeks out there, here is our content library with most of the learning materials we have produced throughout the years.

It makes sense to start learning by reading and watching videos about fundamentals and how things work.

Search from all Lessons


LoginGet Started
← Back to Lessons
  • node

  • python

  • reactjs

  • flask

Edit on Github

Deploy to Render.com

1) Create account

Deploying to Render.com (takes 7 minutes).

Important: You cannot deploy this project without creating the migrations first, please run the project in your coding editor and make sure the src/migrations folder exists. If it does not exist, you can run pipenv run init or flask db init inside the environment. Also, make sure you have all your needed migrations by running pipenv run migrate or flask db migrate inside the environment.

1) Create account

Create an account on Render.com using Github connect. Please don't do anything else.

2) Create blueprint

Create a blueprint from your Github connection. Click here and look for your project repository.

Important: Please make sure your project contains a render.yml file on the root. The 4Geeks Flask + React boilerplate comes with it.

After choosing your repository you should see a screen similar to this:

new blueprint

3) Fill the form for the blueprint

Now you should see a small form with 3 questions:

  • 3.1. Choose a Service Group Name, for example: My First Project.
  • 3.2. Select a branch, usually the main branch should suffice.
  • 3.3. Click the apply blue button.

You will see a loading animation with the status of the Postgres database and the web service being built.

loading blueprint

It takes several minutes to load both services, please be patient and wait until both checkmarks show up.

4) Set the environment variables

As you did in your local project, you will have to set the extra env vars you have added in your project in the Render settings.

Go to the Environment section in your Render's server panel and include the additional Environment Variables you need.

🔥 IMPORTANT: Every time you change the ENV VARs you will need to redeploy your project. ENV VARs only have an effect when the project is built again.**

Your website is ready!

Once the deploy is finished you can go ahead and open your website:

open your website

Errors? How to Troubleshoot

If you encountered an error while deploying the web service, you can check the server logs here.

Some times the deploy service has errors for no particular reason, if you believe that is your case, try re-deploying again using a manual deploy.

Check your deploy logs

success log