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
bf9e11a0
Commit
bf9e11a0
authored
5 years ago
by
David Trattnig
Browse files
Options
Downloads
Patches
Plain Diff
Extended Readme on how to install and start.
parent
5c2d422c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+22
-7
22 additions, 7 deletions
README.md
with
22 additions
and
7 deletions
README.md
+
22
−
7
View file @
bf9e11a0
...
...
@@ -58,11 +58,14 @@ It is tested and coded on Debian Stretch and Ubuntu 18.0 with Python 3.6+.
git clone https://gitlab.servus.at/autoradio/engine
```
**Install System Packages:**
**Install System Libraries:**
Aura Engine requires at least Node 13 and Python 3.7.
```
bash
sudo
apt
install
\
git
\
nodejs
\
python3.7 python3.7-pip python3.7-dev
\
redis-server
\
libsndfile1 ffmpeg
\
...
...
@@ -73,10 +76,10 @@ sudo apt install \
liquidsoap-plugin-all
```
**Install
Python
Packages:**
**Install
Engine
Packages:**
```
bash
./install.sh
sudo
./install.sh
```
**Setup Database:**
...
...
@@ -107,21 +110,33 @@ Read more about detailed settings in the [Configuration Guide](docs/configuratio
## Start the Engine
To start the AuRa Engine execute:
**Development:**
While developing there is a simple convencience script
`run.sh`
to get you started. Call the engine's components in following order:
```
shell
./run.sh
# Starts the engine-core component
./run.sh lqs
# Starts the engine-liquidsoap component
./run.sh api
# Starts the engine-api component
```
**Production:**
In production the process is slightly different to ensure the
engine's components are always running i.e. restart themselves after some system
restart or crash. Therefore they are executed using a system service:
```
bash
systemctl start aura-lqs
systemctl start aura-engine
systemctl start aura-lqs
systemctl start aura-api
```
and on system boot run following:
```
bash
systemctl
enable
aura-lqs
systemctl
enable
aura-engine
systemctl
enable
aura-lqs
```
The first service starts the LiquidSoap Engine, while the latter boots the actual AuRa Engine.
## Logging
...
...
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