-
-
Save KyMidd/09da94770d6b7134e6bc87519b2d77fd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Main function | |
| if __name__ == "__main__": | |
| ... | |
| # Start the app in websocket mode for local development | |
| # Will require a separate terminal to run ngrok, e.g.: ngrok http http://localhost:3000 | |
| print("🚀 Starting the app") | |
| app.start( | |
| port=int(os.environ.get("PORT", 3000)), | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment