diff options
author | Felix Ableitner <me@nutomic.com> | 2018-08-18 16:53:43 -0500 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-23 09:41:25 +0200 |
commit | dd07afa5f448eed4ebc1afe1370dc6936b15f0d8 (patch) | |
tree | ecded7109b1a0719c44b218cdde33a0f08cf1064 /.github/CONTRIBUTING.md | |
parent | 9e91237655dfc2f7e2f03f77bb98992cfdd5c43f (diff) | |
download | PeerTube-dd07afa5f448eed4ebc1afe1370dc6936b15f0d8.tar.gz PeerTube-dd07afa5f448eed4ebc1afe1370dc6936b15f0d8.tar.zst PeerTube-dd07afa5f448eed4ebc1afe1370dc6936b15f0d8.zip |
Add missing instructions to Contributing document
Diffstat (limited to '.github/CONTRIBUTING.md')
-rw-r--r-- | .github/CONTRIBUTING.md | 11 |
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 | ||
59 | Note that development is done on the `develop` branch. If you want to hack on | ||
60 | Peertube, you should switch to that branch. Also note that you have to repeat | ||
61 | the `yarn install --pure-lockfile` command. | ||
62 | |||
59 | Then, create a postgres database and user with the values set in the | 63 | Then, 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 |
61 | there, the following commands would create a new database called `peertube_dev` | 65 | there, 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 | ||
74 | Then 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 | |||
70 | In dev mode, administrator username is **root** and password is **test**. | 81 | In dev mode, administrator username is **root** and password is **test**. |
71 | 82 | ||
72 | ### Server side | 83 | ### Server side |