aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/CONTRIBUTING.md
diff options
context:
space:
mode:
Diffstat (limited to '.github/CONTRIBUTING.md')
-rw-r--r--.github/CONTRIBUTING.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 822449b3a..bbf06c87f 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -63,7 +63,8 @@ Fork the github repository,
63and then clone the sources and install node modules: 63and then clone the sources and install node modules:
64 64
65``` 65```
66$ git clone https://github.com/YOUR_GITHUB_USERNAME/PeerTube 66$ git clone https://github.com/Chocobozzz/PeerTube
67$ git remote add me git@github.com:YOUR_GITHUB_USERNAME/PeerTube.git
67$ cd PeerTube 68$ cd PeerTube
68$ yarn install --pure-lockfile 69$ yarn install --pure-lockfile
69``` 70```
@@ -72,6 +73,12 @@ Note that development is done on the `develop` branch. If you want to hack on
72Peertube, you should switch to that branch. Also note that you have to repeat 73Peertube, you should switch to that branch. Also note that you have to repeat
73the `yarn install --pure-lockfile` command. 74the `yarn install --pure-lockfile` command.
74 75
76When you create a new branch you should also tell to use your repo for upload
77not default one. To do just do:
78```
79$ git push --set-upstream me <your branch name>
80```
81
75Then, create a postgres database and user with the values set in the 82Then, create a postgres database and user with the values set in the
76`config/default.yaml` file. For instance, if you do not change the values 83`config/default.yaml` file. For instance, if you do not change the values
77there, the following commands would create a new database called `peertube_dev` 84there, the following commands would create a new database called `peertube_dev`