aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJorropo <jorropo.pgm@gmail.com>2019-06-14 10:40:01 +0200
committerChocobozzz <me@florianbigard.com>2019-06-14 10:40:01 +0200
commitb30acc0e4b2cf596704e5949c2d7020eccb7f720 (patch)
tree7469c276c064b3cdcf88abf9547b9e2dc486083f
parent1205823fece15f249e0dbad42e096cf9b81c3ba5 (diff)
downloadPeerTube-b30acc0e4b2cf596704e5949c2d7020eccb7f720.tar.gz
PeerTube-b30acc0e4b2cf596704e5949c2d7020eccb7f720.tar.zst
PeerTube-b30acc0e4b2cf596704e5949c2d7020eccb7f720.zip
Update contributing to use multiple remote. (#1902)
Using multiple remote simplify a lot updating and pulling.
-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`