Skip to content

Running development environment #183

@Bost

Description

@Bost

When running the service locally, I get:

> flask run
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)

Then in the browser, after opening:

  • http://127.0.0.1:5000/I get redirected to https://github.com/ExpDev07/coronavirus-tracker-api
  • http://127.0.0.1:5000/allI get to see the result of the v1 version.

So far everything's fine[1]. But how do I get to see the results for the v2 version? So far I can see only the v1 routes are activated:

> /usr/bin/rg --smart-case api.route
app/routes/v1/recovered.py
5:@api.route('/recovered')

app/routes/v1/deaths.py
5:@api.route('/deaths')

app/routes/v1/all.py
5:@api.route('/all')

app/routes/v1/confirmed.py
5:@api.route('/confirmed')

And can I ask you such things somewhere on some channel, discussion forum, chat, etc.? Without opening an issue here? Thanks

[1] the redirect is rather a nuisance

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions