CH6 Intro
In the following sections, I will show you how everything operate, or, how heroku hates me / how the app crashed one by one:
Section 1: What to do, how to do and something have to read;
Section 2: What to make a demo app runs locally ,but it crashed when try to open the browser;
Seciton 3: How to get my app onto their site, it means, to get a flask app(ch4 task) on Heroku;
Section 4: How Heroku hates me ,and I wrote a song for Heroku.
Section 5: How to deal with problem while you didn't know what actually you are doing?
HOW TO RUN:
Collocte web5.py / Procfile / requirements.txt / runtime.txt in the same directory ( put index.html in the 'templates' folder);
- Type
$ heroku openinto the terminal to open the web, or ,you can just open the browser and type "http://sssswea.herokuapp.com" - Follow the instructions on the page to search the weather forecast.
- It's small web app, but pure and sample . ENOUGTH FOR ME.