-
Notifications
You must be signed in to change notification settings - Fork 8
Home
kwmccabe edited this page Apr 13, 2018
·
65 revisions
To begin the FlaskApp Tutorial you will need to install Docker. Then create a new project folder, and add the four files described in Commit-v0.1. Finally, from the root of your new project issue the following shell command:
docker-compose up --build
When it's working, pointing your browser at http://localhost:5000 will return the message Hello FlaskApp
.
You can browse the code files on github.com, of course, but you can also download the source code, for instance to more easily compare your version of the application with the original.
git clone https://github.com/PdxCodeGuild/20180406-FlaskApp.git flaskapp_orig
cd flaskapp_orig
git checkout v0.1
cd ..
diff -rq flaskapp_new flaskapp_orig
Tutorial Sections and Branches are listed with brief descriptions in the Table of Contents. They are also listed at the right for quick access as you move between versions.
- Books
- Flask Web Development by Miguel Grinberg. 9781449372620, O'Reilly Media, 2014.
- Components
- General
FlaskApp Tutorial | Table of Contents
- FlaskApp Tutorial
- Table of Contents
- About
- Application Setup
- Modules, Templates, and Layouts
- Database Items, Forms, and CRUD
- List Filter, Sort, and Paginate
- Users and Login
- Database Relationships
- API Module, HTTPAuth and JSON
- Refactoring User Roles and Item Status
- AJAX and Public Pages