Added Dev Environment as code
This commit is contained in:
parent
02e4b67015
commit
0adccd89b4
|
@ -0,0 +1,12 @@
|
|||
tasks:
|
||||
- before: |
|
||||
export FLASK_APP=microblog.py
|
||||
init: |
|
||||
pip install setuptools==45 # see https://github.com/pypa/setuptools/issues/2017#issuecomment-605354361
|
||||
pip install -r ./requirements.txt
|
||||
flask db upgrade
|
||||
command: |
|
||||
flask run
|
||||
ports:
|
||||
- port: 5000
|
||||
onOpen: open-preview
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"python.pythonPath": "/home/gitpod/.pyenv/shims/python"
|
||||
}
|
|
@ -1,3 +1,3 @@
|
|||
# Welcome to Microblog!
|
||||
# Welcome to Microblog! [](https://gitpod.io/#https://github.com/miguelgrinberg/microblog)
|
||||
|
||||
This is an example application featured in my [Flask Mega-Tutorial](https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world). See the tutorial for instructions on how to work with it.
|
||||
|
|
Loading…
Reference in New Issue