diff --git a/README.md b/README.md index c5a84e7563f0d466898eeb43382a7883d11cf9a9..bd0c0663f9972d8d0b231396a20d2e430347e709 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ sudo apt install \ #### Python Packages -``` +```bash sudo pip3 install \ Flask Flask-Babel Flask-SQLAlchemy Flask-WTF \ mysqlclient redis simplejson mutagen @@ -45,18 +45,23 @@ git clone https://gitlab.servus.at/autoradio/engine #### Set Up a database +```bash mysql -u root -p CREATE DATABASE aura_engine CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; CREATE USER 'aura'@'localhost' IDENTIFIED BY 'secure-password'; GRANT ALL PRIVILEGES ON aura_engine.* TO 'aura'@'localhost'; +``` #### Files Create the audio folder defined in your aura.ini + +```bash mkdir /var/audio mkdir /etc/aura cp {where you cloned the repo}/configuration/aura.ini /etc/aura/aura.ini +``` edit installation dir and database settings in aura.ini