Your app will now start with all the proper environment variables set automatically. The server will run on port 8000 in debug mode. If you would like to change the port, modify .flaskenv file and change the value of FLASK_RUN_PORT to the desired port.