aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFelix Ableitner <me@nutomic.com>2018-08-18 16:53:43 -0500
committerChocobozzz <me@florianbigard.com>2018-08-23 09:41:25 +0200
commitdd07afa5f448eed4ebc1afe1370dc6936b15f0d8 (patch)
treeecded7109b1a0719c44b218cdde33a0f08cf1064
parent9e91237655dfc2f7e2f03f77bb98992cfdd5c43f (diff)
downloadPeerTube-dd07afa5f448eed4ebc1afe1370dc6936b15f0d8.tar.gz
PeerTube-dd07afa5f448eed4ebc1afe1370dc6936b15f0d8.tar.zst
PeerTube-dd07afa5f448eed4ebc1afe1370dc6936b15f0d8.zip
Add missing instructions to Contributing document
-rw-r--r--.github/CONTRIBUTING.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index c70bc44e2..6d095cc47 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -56,6 +56,10 @@ $ cd PeerTube
56$ yarn install --pure-lockfile 56$ yarn install --pure-lockfile
57``` 57```
58 58
59Note that development is done on the `develop` branch. If you want to hack on
60Peertube, you should switch to that branch. Also note that you have to repeat
61the `yarn install --pure-lockfile` command.
62
59Then, create a postgres database and user with the values set in the 63Then, create a postgres database and user with the values set in the
60`config/default.yaml` file. For instance, if you do not change the values 64`config/default.yaml` file. For instance, if you do not change the values
61there, the following commands would create a new database called `peertube_dev` 65there, the following commands would create a new database called `peertube_dev`
@@ -67,6 +71,13 @@ Enter password for new role: peertube
67# sudo -u postgres createdb -O peertube peertube_dev 71# sudo -u postgres createdb -O peertube peertube_dev
68``` 72```
69 73
74Then enable extensions PeerTube needs:
75
76```
77$ sudo -u postgres psql -c "CREATE EXTENSION pg_trgm;" peertube_dev
78$ sudo -u postgres psql -c "CREATE EXTENSION unaccent;" peertube_dev
79```
80
70In dev mode, administrator username is **root** and password is **test**. 81In dev mode, administrator username is **root** and password is **test**.
71 82
72### Server side 83### Server side