Skip to content
Snippets Groups Projects
Commit e1161c4d authored by David Trattnig's avatar David Trattnig
Browse files

Rename "script" to "scripts". #50

parent 718a6698
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ logs ...@@ -5,7 +5,7 @@ logs
tmp tmp
.vscode/tags .vscode/tags
config/engine.ini config/engine.ini
script/.engine.install-db.lock scripts/.engine.install-db.lock
.engine.install-db.lock .engine.install-db.lock
config/systemd/dev/ config/systemd/dev/
env.list env.list
......
...@@ -59,7 +59,7 @@ errors, carefully review them and consult the official documentation for install ...@@ -59,7 +59,7 @@ errors, carefully review them and consult the official documentation for install
The following installation script sets up the database. The following installation script sets up the database.
```bash ```bash
bash script/setup-db.sh bash scripts/setup-db.sh
``` ```
By default Aura Engine uses MariaDB for persistence. When starting this script, please By default Aura Engine uses MariaDB for persistence. When starting this script, please
...@@ -91,8 +91,8 @@ git clone https://gitlab.servus.at/autoradio/engine ...@@ -91,8 +91,8 @@ git clone https://gitlab.servus.at/autoradio/engine
This script does the following: This script does the following:
- Install Liquidsoap components using OPAM (`script/install-opam-packages`) - Install Liquidsoap components using OPAM (`scripts/install-opam-packages`)
- NodeJS Modules (`script/install-web.sh`) - NodeJS Modules (`scripts/install-web.sh`)
- Python Packages (`requirements.txt`) - Python Packages (`requirements.txt`)
- Creates a default configuration file in `config/engine.ini` - Creates a default configuration file in `config/engine.ini`
......
...@@ -98,7 +98,7 @@ The following installation script sets up the database. You either need to be lo ...@@ -98,7 +98,7 @@ The following installation script sets up the database. You either need to be lo
or have sudo rights. or have sudo rights.
```shell ```shell
root:/opt/aura/engine/$ bash script/setup-db.sh root:/opt/aura/engine/$ bash scripts/setup-db.sh
``` ```
By default Aura Engine uses MariaDB for persistence. When starting this script, please By default Aura Engine uses MariaDB for persistence. When starting this script, please
...@@ -114,7 +114,7 @@ If you have chosen to setup your database automatically, note the relevant crede ...@@ -114,7 +114,7 @@ If you have chosen to setup your database automatically, note the relevant crede
Call this script to create the required log folders and update all permissions. Call this script to create the required log folders and update all permissions.
```bash ```bash
root:/opt/aura/engine$ bash script/initialize.sh root:/opt/aura/engine$ bash scripts/initialize.sh
``` ```
## Installation ## Installation
...@@ -132,7 +132,7 @@ engineuser:/opt/aura/engine$ ./install.sh prod ...@@ -132,7 +132,7 @@ engineuser:/opt/aura/engine$ ./install.sh prod
This script does the following: This script does the following:
- Install Liquidsoap components using OPAM (`script/install-opam-packages`) - Install Liquidsoap components using OPAM (`scripts/install-opam-packages`)
- Python Packages (`requirements.txt`) - Python Packages (`requirements.txt`)
- Creates a default Engine configuration file in `/etc/aura/engine.ini` - Creates a default Engine configuration file in `/etc/aura/engine.ini`
......
...@@ -26,7 +26,7 @@ fi ...@@ -26,7 +26,7 @@ fi
# Development and Production # Development and Production
echo "Installing OPAM Packages ..." echo "Installing OPAM Packages ..."
bash script/install-opam-packages.sh bash scripts/install-opam-packages.sh
echo "Installing Python Requirements ..." echo "Installing Python Requirements ..."
$PYTHON_EXEC $(which pip3) install -r requirements.txt $PYTHON_EXEC $(which pip3) install -r requirements.txt
......
...@@ -23,7 +23,7 @@ else ...@@ -23,7 +23,7 @@ else
if [ "$input" = "1" ]; then if [ "$input" = "1" ]; then
echo "Creating DB for MariaDB ..." echo "Creating DB for MariaDB ..."
bash script/setup-db-mariadb.sh bash scripts/setup-db-mariadb.sh
break break
fi fi
if [ "$input" = "2" ]; then if [ "$input" = "2" ]; then
......
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