Merge pull request #410 from oerd/master

Fix `flask-server` script to be run through pipenv
master
Steven Loria 6 years ago committed by GitHub
commit 520e0b9a59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      {{cookiecutter.app_name}}/package.json

@ -6,7 +6,7 @@
"build": "NODE_ENV=production webpack --progress --colors -p",
"start": "concurrently -n \"WEBPACK,FLASK\" -c \"bgBlue.bold,bgMagenta.bold\" \"npm run webpack-dev-server\" \"npm run flask-server\"",
"webpack-dev-server": "NODE_ENV=debug webpack-dev-server --port 2992 --hot --inline",
"flask-server": "flask run",
"flask-server": "{% if cookiecutter.use_pipenv == 'yes' %}pipenv run {% endif %}flask run",
"lint": "eslint \"assets/js/*.js\""
},
"repository": {

Loading…
Cancel
Save