diff options
Diffstat (limited to '.github')
-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 |