Commit bbd49758 authored by Kalinka's avatar Kalinka
Browse files

more spaces

parent 3c927d1c
......@@ -13,22 +13,29 @@ The operator of an ogame-apiserver needs to have his __own__ APIKEY from OGame w
## Setup on debian stretch ##
* add surys php repo
echo "deb stretch main" | tee /etc/apt/sources.list.d/php.list
wget -q -O- | apt-key add -
apt update
* install php, nginx, redis-server, composer, git
apt install php7.2 php7.2-cli php7.2-common php7.2-curl php7.2-fpm php7.2-gd php7.2-json php7.2-mbstring php7.2-mysql \
php7.2-opcache php7.2-readline php7.2-xml php7.2-zip nginx-full composer redis-server git
* set redis-server password
echo "requirepass YourHighSecurityRedisPassword" >> /etc/redis/redis.conf
systemctl restart redis
* get sources, configure your environment, install dependencies
cd /var/www
git clone
......@@ -37,7 +44,9 @@ cp .env.dist .env
editor .env
composer install
* add nginx site, edit config to meet your FQDN
cp /var/www/apiserver/nginx/ /etc/nginx/sites-available/
editor /etc/nginx/sites-available/
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