mirror of
https://github.com/aquatix/digimarks.git
synced 2025-12-06 20:55:10 +01:00
Configure for server
This commit is contained in:
3
requirements-server.in
Normal file
3
requirements-server.in
Normal file
@@ -0,0 +1,3 @@
|
||||
-r requirements.in
|
||||
|
||||
gunicorn
|
||||
@@ -30,15 +30,15 @@ DEFAULT_THEME = 'freshgreen'
|
||||
class Settings(BaseSettings):
|
||||
"""Configuration needed for digimarks to find its database, favicons, API integrations."""
|
||||
|
||||
# database_file: FilePath = './bookmarks.db'
|
||||
# outside the codebase
|
||||
database_file: FilePath
|
||||
media_dir: DirectoryPath
|
||||
media_url: str = '/static/'
|
||||
favicons_dir: DirectoryPath
|
||||
|
||||
# inside the codebase
|
||||
static_dir: DirectoryPath = 'static'
|
||||
template_dir: DirectoryPath = 'templates'
|
||||
|
||||
mashape_api_key: str
|
||||
media_url: str = '/static/'
|
||||
|
||||
system_key: str
|
||||
|
||||
|
||||
Reference in New Issue
Block a user