This downloads the quickstart repository to your local machine
git clone https://github.com/pycob/flask-quickstart.git
This installs the necessary requirements to run the Flask app
pip install -r requirements.txt
The API key is used for interacting with Pycob.
If you don't have an API key, get one here: https://www.pycob.com/deploy
export PYCOB_API_KEY=pycob-key-...
This is just to test whether the app works locally
python main.py
This will:
- Send the files to Pycob
- Opens a browser to complete the deployment setup
- Serves the app on
your_app_name.pycob.app
python -m pycob.deploy