Skip to content
Snippets Groups Projects
Commit 100352e5 authored by Gottfried Gaisbauer's avatar Gottfried Gaisbauer
Browse files

Update README.md

parent 181be922
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ sudo apt install \ ...@@ -32,7 +32,7 @@ sudo apt install \
#### Python Packages #### Python Packages
``` ```bash
sudo pip3 install \ sudo pip3 install \
Flask Flask-Babel Flask-SQLAlchemy Flask-WTF \ Flask Flask-Babel Flask-SQLAlchemy Flask-WTF \
mysqlclient redis simplejson mutagen mysqlclient redis simplejson mutagen
...@@ -45,18 +45,23 @@ git clone https://gitlab.servus.at/autoradio/engine ...@@ -45,18 +45,23 @@ git clone https://gitlab.servus.at/autoradio/engine
#### Set Up a database #### Set Up a database
```bash
mysql -u root -p mysql -u root -p
CREATE DATABASE aura_engine CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; CREATE DATABASE aura_engine CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'aura'@'localhost' IDENTIFIED BY 'secure-password'; CREATE USER 'aura'@'localhost' IDENTIFIED BY 'secure-password';
GRANT ALL PRIVILEGES ON aura_engine.* TO 'aura'@'localhost'; GRANT ALL PRIVILEGES ON aura_engine.* TO 'aura'@'localhost';
```
#### Files #### Files
Create the audio folder defined in your aura.ini Create the audio folder defined in your aura.ini
```bash
mkdir /var/audio mkdir /var/audio
mkdir /etc/aura mkdir /etc/aura
cp {where you cloned the repo}/configuration/aura.ini /etc/aura/aura.ini cp {where you cloned the repo}/configuration/aura.ini /etc/aura/aura.ini
```
edit installation dir and database settings in aura.ini edit installation dir and database settings in aura.ini
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment