Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quickstart needs clarity #71

Open
mdeggies opened this issue Aug 9, 2016 · 2 comments
Open

Quickstart needs clarity #71

mdeggies opened this issue Aug 9, 2016 · 2 comments

Comments

@mdeggies
Copy link
Member

mdeggies commented Aug 9, 2016

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.

@bertildaniel
Copy link

@mdeggies Is it not expected you know what Flask is if you're going to use this Flask extension? Flask quickstart is at http://flask.pocoo.org (first paragraph) which covers everything you mentioned above.

@secdec24
Copy link

The Stormpath website also has a Build a Flask App in 30 minutes which guides you through setting up a Flask app with Stormpath integration from scratch. I agree that the flask-stormpath quickstart should be about how to set up Stormpath with your Flask app and should therefore require/assume prior Flask knowledge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants