diff options
author | Jorropo <jorropo.pgm@gmail.com> | 2019-06-14 10:40:01 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-06-14 10:40:01 +0200 |
commit | b30acc0e4b2cf596704e5949c2d7020eccb7f720 (patch) | |
tree | 7469c276c064b3cdcf88abf9547b9e2dc486083f | |
parent | 1205823fece15f249e0dbad42e096cf9b81c3ba5 (diff) | |
download | PeerTube-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.md | 9 |
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, | |||
63 | and then clone the sources and install node modules: | 63 | and 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 | |||
72 | Peertube, you should switch to that branch. Also note that you have to repeat | 73 | Peertube, you should switch to that branch. Also note that you have to repeat |
73 | the `yarn install --pure-lockfile` command. | 74 | the `yarn install --pure-lockfile` command. |
74 | 75 | ||
76 | When you create a new branch you should also tell to use your repo for upload | ||
77 | not default one. To do just do: | ||
78 | ``` | ||
79 | $ git push --set-upstream me <your branch name> | ||
80 | ``` | ||
81 | |||
75 | Then, create a postgres database and user with the values set in the | 82 | Then, 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 |
77 | there, the following commands would create a new database called `peertube_dev` | 84 | there, the following commands would create a new database called `peertube_dev` |