4Geeks Coding Boilerplates for Junior Developers

Deploy to Render.com

Deploy to Render.com

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.

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

It is always recommended to check your deploy logs for errors or any other important messages, this is how a successful deploy should look like.

success log

Edit this page on GitHub