aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/docker/gitpod/setup_postgres.sql
diff options
context:
space:
mode:
authorJan Keromnes <jan.keromnes@typefox.io>2019-01-30 08:39:42 +0000
committerChocobozzz <chocobozzz@cpy.re>2019-04-12 09:25:43 +0200
commit0cfcbae8189353a1ad29bafbd520e6965290f367 (patch)
tree05b3a7c612c2fb8b7be7fc87dc4439b00b4bf6fd /support/docker/gitpod/setup_postgres.sql
parentcda03765fe366f028897e9b02dd4a0a19af3c935 (diff)
downloadPeerTube-0cfcbae8189353a1ad29bafbd520e6965290f367.tar.gz
PeerTube-0cfcbae8189353a1ad29bafbd520e6965290f367.tar.zst
PeerTube-0cfcbae8189353a1ad29bafbd520e6965290f367.zip
Add automated dev setup using Gitpod
Diffstat (limited to 'support/docker/gitpod/setup_postgres.sql')
-rw-r--r--support/docker/gitpod/setup_postgres.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/support/docker/gitpod/setup_postgres.sql b/support/docker/gitpod/setup_postgres.sql
new file mode 100644
index 000000000..0937f9d19
--- /dev/null
+++ b/support/docker/gitpod/setup_postgres.sql
@@ -0,0 +1,6 @@
1create database peertube_dev;
2create user peertube password 'peertube';
3grant all privileges on database peertube_dev to peertube;
4\c peertube_dev
5CREATE EXTENSION pg_trgm;
6CREATE EXTENSION unaccent;