diff --git a/Procfile b/Procfile new file mode 100644 index 0000000000000000000000000000000000000000..e82f14bfa3ae5686b01417c9dd58c08ab5c51b31 --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +worker: python xkcd_alt.py \ No newline at end of file diff --git a/README.md b/README.md index dbbe1abc58212bc44a306cfab5c07c8b08317683..70244259d8d32d1a6206f9899c517d79b8538fd6 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,16 @@ Add your API keys and access tokens to your environmental variables by following ### --> Running on Heroku -Details are coming soon! +Sign into Heroku and ensure the [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli) is installed and logged in. [Create a new app](https://dashboard.heroku.com/new-app) with your choice of name. Then, add your environmental/config variables by clicking *Reveal config vars* inside the settings tab of your new dashboard. Add them in this format: ```YOUR_API_KEY_HERE_ALL_CAPS``` ```apikey``` + +Open the command line inside the folder with your program and run the following commands: + +```console +$ heroku git:remote -a yourappname +$ git push heroku master +``` + +You should also install the [Logentries addon](https://elements.heroku.com/addons/logentries) to notify yourself of errors or crashes. ## Forks and Contributing