-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mike Nikles
authored
Jun 26, 2021
1 parent
215eb6a
commit 7d8f4e5
Showing
1 changed file
with
10 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,19 @@ | ||
Flaskr | ||
====== | ||
# A Python Flask template on Gitpod | ||
|
||
The basic blog app built in the Flask `tutorial`_. | ||
This is a [Python Flask](https://flask.palletsprojects.com/en/2.0.x) template configured for ephemeral development environments on [Gitpod](https://www.gitpod.io/). | ||
|
||
.. _tutorial: https://flask.palletsprojects.com/tutorial/ | ||
## Next Steps | ||
|
||
Click the button below to start a new development environment: | ||
|
||
Run | ||
------- | ||
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/gitpod-io/template-python-flask) | ||
|
||
Open a workspace | ||
https://gitpod.io/from-referrer/ | ||
## Get Started With Your Own Project | ||
|
||
### A new project | ||
|
||
Test | ||
---- | ||
Click the above "Open in Gitpod" button to start a new workspace. Once you're ready to push your first code changes, Gitpod will guide you to fork this project so you own it. | ||
|
||
:: | ||
### An existing project | ||
|
||
$ pip install '.[test]' | ||
$ pytest | ||
|
||
Run with coverage report:: | ||
|
||
$ coverage run -m pytest | ||
$ coverage report | ||
$ coverage html # open htmlcov/index.html in a browser | ||
To get started with Python Flask on Gitpod, add a [`.gitpod.yml`](./.gitpod.yml) file which contains the configuration to improve the developer experience on Gitpod. To learn more, please see the [Getting Started](https://www.gitpod.io/docs/getting-started) documentation. |