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

Remove install script. engine#72

parent 305c3faf
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
mode="dev"
if [[ $* =~ ^(prod)$ ]]; then
mode="prod"
fi
if [ $mode == "dev" ]; then
echo "[Installing AURA ENGINE for Development]"
fi
if [ $mode == "prod" ]; then
echo "[Installing AURA ENGINE for Production]"
fi
# Development and Production
echo "Installing OPAM Packages ..."
bash scripts/install-opam-packages.sh
echo "Create local 'logs' Folder ..."
mkdir -p logs
# Development
if [ $mode == "dev" ]; then
echo "Copy configuration to './config/engine.ini'"
cp -n config/sample-development.engine-core.ini config/engine-core.ini
fi
# Production
if [ $mode == "prod" ]; then
echo "Copy default Engine configuration to '/etc/aura/engine.ini'"
cp -n config/sample-production.engine-core.ini /etc/aura/engine-core.ini
fi
echo
echo "+++ Installation of AURA Engine finished! +++"
echo
\ No newline at end of file
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