Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
aura-engine
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lars Kruse
aura-engine
Commits
ccd8bdbd
Commit
ccd8bdbd
authored
5 years ago
by
David Trattnig
Browse files
Options
Downloads
Patches
Plain Diff
Localized configuration for faster testing cycles and allowance of multiple engines.
parent
f95156e2
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
aura.py
+2
-2
2 additions, 2 deletions
aura.py
modules/liquidsoap/settings.liq
+1
-1
1 addition, 1 deletion
modules/liquidsoap/settings.liq
with
3 additions
and
3 deletions
aura.py
+
2
−
2
View file @
ccd8bdbd
...
...
@@ -30,6 +30,7 @@ import signal
import
logging
import
unittest
from
pathlib
import
Path
from
flask
import
request
,
render_template
,
Flask
,
Response
from
flask_sqlalchemy
import
SQLAlchemy
from
sqlalchemy.ext.declarative
import
declarative_base
...
...
@@ -45,8 +46,7 @@ def get_config_file():
idx
=
sys
.
argv
.
index
(
"
--config-file
"
)
return
sys
.
argv
[
idx
+
1
]
else
:
return
"
/etc/aura/engine.ini
"
return
"
%s/configuration/engine.ini
"
%
Path
(
__file__
).
parent
.
absolute
()
def
get_database_uri
():
db_name
=
config
.
get
(
"
db_name
"
)
...
...
This diff is collapsed.
Click to expand it.
modules/liquidsoap/settings.liq
+
1
−
1
View file @
ccd8bdbd
...
...
@@ -24,7 +24,7 @@
# READ INI FILE
%include "readini.liq"
ini = read_ini("
/etc/aura
/engine.ini")
ini = read_ini("
../../configuration
/engine.ini")
# TELNET SETTINGS
set("server.telnet", true)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment