This shows you the differences between two versions of the page.
ii:labs:s2:01:tasks:00 [2022/03/31 18:34] florin.stancu [00. Getting Started] |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== 00. Getting Started ==== | ||
- | |||
- | First, download the {{ii:labs:s2:lab01-skel.zip|skeleton archive (.zip)}} and unzip it. | ||
- | |||
- | It has the following structure: | ||
- | <code> | ||
- | ├── initial_design.html # initial HTML template | ||
- | ├── public/ | ||
- | │ ├── bootstrap/ # bootstrap sources | ||
- | │ ├── images/ | ||
- | │ └── style.css # main stylesheet | ||
- | ├── server.py # server-side application | ||
- | └── templates/ # Jinja templates | ||
- | </code> | ||
- | |||
- | To test, open ''initial_design.html'' in a browser. It should look similar to the following screenshot: | ||
- | |||
- | {{ :ii:labs:s2:lab01-web-screenshot1.png?700 |}} | ||
- | |||
- | Also, it would be a good idea to test your Python / Flask setup: | ||
- | <code bash> | ||
- | python3 server.py | ||
- | # it should say that the server is running on http://127.0.0.1:5000/ | ||
- | </code> | ||
- | |||