From 26a30c6f0113ca05fbd73c9c924776b768e72138 Mon Sep 17 00:00:00 2001 From: dasDachs Date: Wed, 20 Jun 2018 11:00:11 +0200 Subject: [PATCH] Added Pipfile and updated {{{cookiecutter.app_name}}/README.rst --- Pipfile | 57 ++++++++++++++++++++++++++++ {{cookiecutter.app_name}}/README.rst | 4 ++ 2 files changed, 61 insertions(+) create mode 100644 Pipfile diff --git a/Pipfile b/Pipfile new file mode 100644 index 0000000..c195ac3 --- /dev/null +++ b/Pipfile @@ -0,0 +1,57 @@ +[[source]] +url = "https://pypi.python.org/simple" +verify_ssl = true +name = "pypi" + +[packages] +# Flask +Flask = "==1.0.2" +MarkupSafe = "==1.0" +Werkzeug = "==0.14.1" +Jinja2 = "==2.10" +itsdangerous = "==0.24" +click = ">=5.0" + +# Database +Flask-SQLAlchemy = "==2.3.2" +psycopg2 = "==2.7.5" +SQLAlchemy = "==1.2.8" + +# Migrations +Flask-Migrate = "==2.2.0" + +# Forms +Flask-WTF = "==0.14.2" +WTForms = "==2.2.1" + +# Deployment +gunicorn = ">=19.1.1" + +# Webpack +flask-webpack = "==0.1.0" + +# Auth +Flask-Login = "==0.4.1" +Flask-Bcrypt = "==0.7.1" + +# Caching +Flask-Caching = ">=1.0.0" + +# Debug toolbar +Flask-DebugToolbar = "==0.10.1" + +[dev-packages] +# Testing +pytest = "==3.6.1" +WebTest = "==2.0.29" +factory-boy = "==2.11.*" + +# Lint and code style +flake8 = "==3.5.0" +flake8-blind-except = "==0.1.1" +flake8-debugger = "==3.1.0" +flake8-docstrings = "==1.3.0" +flake8-isort = "==2.5" +flake8-quotes = "==1.0.0" +isort = "==4.3.4" +pep8-naming = "==0.7.0" diff --git a/{{cookiecutter.app_name}}/README.rst b/{{cookiecutter.app_name}}/README.rst index 7b4d8d8..a1e4c08 100644 --- a/{{cookiecutter.app_name}}/README.rst +++ b/{{cookiecutter.app_name}}/README.rst @@ -19,7 +19,11 @@ Run the following commands to bootstrap your environment :: git clone https://github.com/{{cookiecutter.github_username}}/{{cookiecutter.app_name}} cd {{cookiecutter.app_name}} + pip install -r requirements/dev.txt + # or use Pipenv + pipenv install --dev + npm install npm start # run the webpack dev server and flask server using concurrently