Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Deployment issue #2

Open
everythingability opened this issue Mar 13, 2023 · 2 comments
Open

Deployment issue #2

everythingability opened this issue Mar 13, 2023 · 2 comments

Comments

@everythingability
Copy link

Hi I think everything went fine, and pycob deployed OK, but ...

(env) Toms-MBP:src tomsmith$ python -m pycob.deploy
----------------------------------------------------------------
PyCob Deploy
----------------------------------------------------------------
Args: []
Checking for API key in PYCOB_API_KEY environment variable...
Uploading... File #1: ./main.py
Response: 200
Done Uploading. Beginning deployment...

... It isn't available at .pycob.app <-- as it says on one page...

...or {your_app}.pycob.app <-- where is your_app defined?

@everythingability
Copy link
Author

I used the starter app

@zainhoda
Copy link
Member

Thank you! We will add some documentation around this but you need to have a requirements.txt and a Procfile in order to deploy.
requirements.txt tells the server what packages to install
Procfile tells the server what command to run to being serving

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants