Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ dev: dev-requirements.txt
prod: requirements.txt
pip install -r requirements.txt

run: prod
FLASK_DEBUG=1 FLASK_APP=snappass.main NO_SSL=True venv/bin/flask run
compile-translations:
pybabel compile -d snappass/translations
Comment thread
systeembeheerder marked this conversation as resolved.

run: prod compile-translations
FLASK_DEBUG=1 FLASK_APP=snappass.main NO_SSL=True venv/bin/flask run

test:
PYTHONPATH=snappass venv/bin/nosetests -s tests
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
long_description=(open('README.rst').read() + '\n\n' +
open('AUTHORS.rst').read()),
url='http://github.com/Pinterest/snappass/',
install_requires=['Flask', 'redis', 'cryptography'],
install_requires=['Flask', 'redis', 'cryptography', 'flask-babel'],
license='MIT',
author='Dave Dash',
author_email='dd+github@davedash.com',
Expand Down