Commit 784a29c5 authored by david's avatar david
Browse files

Added install infos.

parent 94c38f18
Pipeline #1035 passed with stage
in 2 minutes and 30 seconds
...@@ -75,7 +75,7 @@ cp config/sample.production.engine.ini config/engine.ini ...@@ -75,7 +75,7 @@ cp config/sample.production.engine.ini config/engine.ini
### Setting up the database ### Setting up the database
The primary database supported by AURA is PostgreSQL. Engine requires a PorstgreSQL database to cache any programme info locally:
```bash ```bash
# Additional Python packages for PostgreSQL # Additional Python packages for PostgreSQL
...@@ -84,18 +84,7 @@ pip3 install -r contrib/postgresql-requirements.txt ...@@ -84,18 +84,7 @@ pip3 install -r contrib/postgresql-requirements.txt
sudo -u postgres psql -f contrib/postgresql-create-database.sql sudo -u postgres psql -f contrib/postgresql-create-database.sql
``` ```
Alternatively you can also use MariaDB: > Important: You might want to change the password for the database user created by the relevant script.
> Warning: Due to an [issue with Mysql/MariaDB](https://gitlab.servus.at/aura/engine/-/issues/75) we recommend using PostgreSQL only.
```bash
# Additional Python packages for MariaDB
pip3 install -r contrib/mariadb-requirements.txt
# Create database and user (change password in script)
sudo mysql -u root -p < contrib/mariadb-database.sql
```
You might want to change the password for the database user created by the relevant script.
## Configuration ## Configuration
......
...@@ -57,7 +57,9 @@ Ensure you have following other projects up and running: ...@@ -57,7 +57,9 @@ Ensure you have following other projects up and running:
- engine-api - engine-api
- engine-clock (optional) - engine-clock (optional)
Create an virtual environment allowing you to ensure having the proper Python version and dependencies: The following steps espect you having done the bases configuration and set up a database as outlined in the [Native Installation](https://gitlab.servus.at/aura/engine/-/blob/master/docs/bare-metal-installation.md) document.
If you don't have already, you'll need to create an virtual environment:
```shell ```shell
~/code/aura/engine$ virtualenv -p python3.8 python ~/code/aura/engine$ virtualenv -p python3.8 python
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment