Add install script for developers on Debian-based operating systems
This commit is contained in:
parent
5acbd3b6e1
commit
ecede45360
9
server/install-debian-dev.sh
Executable file
9
server/install-debian-dev.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Install postgresql
|
||||
sudo apt update
|
||||
sudo apt install -y postgresql
|
||||
|
||||
# Create envoy user and database
|
||||
sudo -u postgres psql -c "CREATE USER envoy WITH PASSWORD 'envoy';"
|
||||
sudo -u postgres psql -c "CREATE DATABASE envoy WITH OWNER envoy;"
|
Reference in New Issue
Block a user