Skip to content

Quickstart needs clarity #71

@mdeggies

Description

@mdeggies

Being unfamiliar with Flask, we had to do a lot of googling to get the flask quickstart working.

The first step is to import flask:

from flask import Flask

We also had to define our app like this:

app = Flask(__name__)

This simple stuff should be covered in the quickstart.

Then...

To actually start the server, we had to do a few more things (that are also not covered in the docs):

export FLASK_APP=file-name.py
flask run

In addition, as no home route was defined in the quickstart, we got a 404 when we navigated to localhost:5000.. that should just be covered in the quickstart too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions