Every week, we pick a real-life project to build your portfolio and get ready for a job. All projects are built with ChatGPT as co-pilot!
Start the ChallengeA tech-culture podcast where you learn to fight the enemies that blocks your way to become a successful professional in tech.
Listen the podcastDeploying 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 runpipenv run init
orflask db init
inside the environment. Also, make sure you have all your needed migrations by runningpipenv run migrate
orflask db migrate
inside the environment.
Create an account on Render.com using Github connect. Please don't do anything else.
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:
Now you should see a small form with 3 questions:
Service Group Name
, for example: My First Project
.branch
, usually the main
branch should suffice.apply
blue button.You will see a loading animation with the status of the Postgres database and the web service being built.
It takes several minutes to load both services, please be patient and wait until both checkmarks show up.
Once the deploy is finished you can go ahead and open your website:
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.
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.