1
0
mirror of https://git.ikl.sh/132ikl/liteshort.git synced 2023-08-10 21:13:04 +03:00

Add requirements.txt

This commit is contained in:
132ikl 2020-03-30 00:49:28 -04:00
parent 95f1eeab2d
commit 717f8cc9e8
3 changed files with 9 additions and 3 deletions

3
.gitignore vendored
View File

@ -108,3 +108,6 @@ venv.bak/
# Databases # Databases
*.db *.db
# liteshort
config.yml

View File

@ -5,13 +5,13 @@ admin_username: 'admin'
# String: Plaintext password to make admin API requests # String: Plaintext password to make admin API requests
# Safe to remove if admin_hashed_password is set # Safe to remove if admin_hashed_password is set
# Default: unset # Default: unset
#admin_password: admin_password: alright
# String: Hashed password (bcrypt) to make admin API requests - Preferred over plaintext, use securepass.sh to generate # String: Hashed password (bcrypt) to make admin API requests - Preferred over plaintext, use securepass.sh to generate
# Please note that authentication takes noticeably longer than using plaintext password # Please note that authentication takes noticeably longer than using plaintext password
# Don't include the <username>: segment, just the hash # Don't include the <username>: segment, just the hash
# Default: unset (required to start application) # Default: unset (required to start application)
admin_hashed_password: #admin_hashed_password:
# Boolean: Disables API. If set to true, admin_password/admin_hashed_password do not need to be set. # Boolean: Disables API. If set to true, admin_password/admin_hashed_password do not need to be set.
# Default: false # Default: false
@ -20,7 +20,7 @@ disable_api: false
# String: Secret key used for cookies (used for storage of messages) # String: Secret key used for cookies (used for storage of messages)
# This should be a 12-16 character randomized string with letters, numbers, and symbols # This should be a 12-16 character randomized string with letters, numbers, and symbols
# Default: unset (required to start application) # Default: unset (required to start application)
secret_key: secret_key: falksfjsdlkfjsdfkljsdlkjfsd
# String: Filename of the URL database without extension # String: Filename of the URL database without extension
# Default: 'urls' # Default: 'urls'

3
requirements.txt Normal file
View File

@ -0,0 +1,3 @@
flask
bcrypt
pyyaml