mirror of
https://github.com/aquatix/digimarks.git
synced 2025-12-06 23:05: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):
|
class Settings(BaseSettings):
|
||||||
"""Configuration needed for digimarks to find its database, favicons, API integrations."""
|
"""Configuration needed for digimarks to find its database, favicons, API integrations."""
|
||||||
|
|
||||||
# database_file: FilePath = './bookmarks.db'
|
# outside the codebase
|
||||||
database_file: FilePath
|
database_file: FilePath
|
||||||
media_dir: DirectoryPath
|
favicons_dir: DirectoryPath
|
||||||
media_url: str = '/static/'
|
|
||||||
|
|
||||||
|
# inside the codebase
|
||||||
static_dir: DirectoryPath = 'static'
|
static_dir: DirectoryPath = 'static'
|
||||||
template_dir: DirectoryPath = 'templates'
|
template_dir: DirectoryPath = 'templates'
|
||||||
|
|
||||||
mashape_api_key: str
|
media_url: str = '/static/'
|
||||||
|
|
||||||
system_key: str
|
system_key: str
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user