Add install script for developers on Debian-based operating systems
This commit is contained in:
parent
da287d48e4
commit
d980aecf83
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