Base application template for Flask and Jinja2 utilizing Docker container.
-
Clone/Download this repo
-
Move into the repo folder
-
Execute:
pipenv install -r requirements.txt
Creating a virtualenv for this project… Pipfile: /mydevfolder/Flask_Docker_Template-master/Pipfile Using /anaconda3/bin/python3.7 (3.7.0) to create virtualenv… ⠼Running virtualenv with interpreter /anaconda3/bin/python3.7 Using base prefix '/anaconda3' /usr/local/lib/python3.7/site-packages/virtualenv.py:1041: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp New python executable in /Users/marvin.michum/.local/share/virtualenvs/Flask_Docker_Template-master-nOIpJcSs/bin/python3.7 Also creating executable in /Users/marvin.michum/.local/share/virtualenvs/Flask_Docker_Template-master-nOIpJcSs/bin/python Installing setuptools, pip, wheel...done. Virtualenv location: /Users/marvin.michum/.local/share/virtualenvs/Flask_Docker_Template-master-nOIpJcSs Requirements file provided! Importing into Pipfile… Pipfile.lock (cc405b) out of date, updating to (662286)… Locking [dev-packages] dependencies… Locking [packages] dependencies… Updated Pipfile.lock (cc405b)! Installing dependencies from Pipfile.lock (cc405b)… 🐍 ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 6/6 — 00:00:04 To activate this project's virtualenv, run pipenv shell. Alternatively, run a command inside the virtualenv with pipenv run.
-
Execute:
Flask run