Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Latest commit

 

History

History
31 lines (25 loc) · 620 Bytes

linux-setup.md

File metadata and controls

31 lines (25 loc) · 620 Bytes

Setup for Linux Debian / Ubuntu

Install Required Dependencies

apt-get update
apt-get install postgresql-9.5-postgis-2.2 redis-server

Setup Database

service postgresql start
sudo -u postgres psql postgres
\password postgres
<input new password>
\q

Download and Start Skygear

mkdir skygear
cd skygear/
touch .env
# <configurate .env file>
wget https://github.com/$(wget https://github.com/SkygearIO/skygear-server/releases/latest -O - | egrep '/.*/.*/.*linux-amd64.tar.gz' -o)
tar zxf skygear-server-linux-amd64.tar.gz
mv skygear-server-linux-amd64 skygear-server
./skygear-server