Removing unneeded directory
This commit is contained in:
parent
aeda0886b8
commit
309590fb6b
2
Makefile
2
Makefile
|
@ -65,7 +65,7 @@ lint: lint-python lint-js
|
||||||
|
|
||||||
lint-python:
|
lint-python:
|
||||||
@echo "--> Linting Python files"
|
@echo "--> Linting Python files"
|
||||||
PYFLAKES_NODOCTEST=1 flake8 lemur tests
|
PYFLAKES_NODOCTEST=1 flake8 lemur
|
||||||
@echo ""
|
@echo ""
|
||||||
|
|
||||||
lint-js:
|
lint-js:
|
||||||
|
|
|
@ -63,6 +63,12 @@ THREADS_PER_PAGE = 8
|
||||||
CORS = False
|
CORS = False
|
||||||
debug = False
|
debug = False
|
||||||
|
|
||||||
|
# modify this if you are not using a local database
|
||||||
|
SQLALCHEMY_DATABASE_URI = 'postgresql://lemur:lemur@localhost:5432/lemur'
|
||||||
|
|
||||||
|
# this is the secret key used by flask session management
|
||||||
|
SECRET_KEY = '{flask_secret_key}'
|
||||||
|
|
||||||
# You should consider storing these separately from your config
|
# You should consider storing these separately from your config
|
||||||
LEMUR_SECRET_TOKEN = '{secret_token}'
|
LEMUR_SECRET_TOKEN = '{secret_token}'
|
||||||
LEMUR_ENCRYPTION_KEY = '{encryption_key}'
|
LEMUR_ENCRYPTION_KEY = '{encryption_key}'
|
||||||
|
@ -178,7 +184,8 @@ def generate_settings():
|
||||||
"""
|
"""
|
||||||
output = CONFIG_TEMPLATE.format(
|
output = CONFIG_TEMPLATE.format(
|
||||||
encryption_key=base64.b64encode(os.urandom(KEY_LENGTH)),
|
encryption_key=base64.b64encode(os.urandom(KEY_LENGTH)),
|
||||||
secret_token=base64.b64encode(os.urandom(KEY_LENGTH))
|
secret_token=base64.b64encode(os.urandom(KEY_LENGTH)),
|
||||||
|
flask_secret_key=base64.b64encode(os.urandom(KEY_LENGTH)),
|
||||||
)
|
)
|
||||||
|
|
||||||
return output
|
return output
|
||||||
|
|
Loading…
Reference in New Issue