Giter Site home page Giter Site logo

Comments (5)

GitCodeBoi1654 avatar GitCodeBoi1654 commented on May 13, 2024

it might just be ur pc

from flask-openapi3.

candleindark avatar candleindark commented on May 13, 2024

it might just be ur pc

I ran the command in a virtual environment. How can that be the case?

from flask-openapi3.

luolingchun avatar luolingchun commented on May 13, 2024

You can use --app in command or use app.py or wsgi.py

flask --app simple_demo openapi

The following information is excerpted from https://flask.palletsprojects.com/en/2.2.x/quickstart/#a-minimal-application


To run the application, use the flask command or python -m flask. You need to tell the Flask where your application is with the --app option.

$ flask --app hello run
 * Serving Flask app 'hello'
 * Running on http://127.0.0.1:5000 (Press CTRL+C to quit)

Application Discovery Behavior

As a shortcut, if the file is named app.py or wsgi.py, you don’t have to use --app. See Command Line Interface for more details.


from flask-openapi3.

GitCodeBoi1654 avatar GitCodeBoi1654 commented on May 13, 2024

it might just be ur pc

I ran the command in a virtual environment. How can that be the case?

Oh sorry I'm a new GitHub user

from flask-openapi3.

candleindark avatar candleindark commented on May 13, 2024

@GitCodeBoi1654
No worries. Thanks for trying to help.

from flask-openapi3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.