Add instructions with git pull to update repo that was already cloned

このコミットが含まれているのは:
Al Pou 2023-09-06 20:13:31 -04:00
コミット 141779bbd8
1個のファイルの変更17行の追加6行の削除

ファイルの表示

@ -43,16 +43,22 @@ needed as it does not come with OpenBSD's base system:
$ doas pkg_add boost cmake git
Next, clone their git repository:
Next, clone their git repository if it was not already cloned before:
$ cd /a/folder/of/your/choice/where/to/clone/the/repo
$ cd /some/directory
$ git clone https://github.com/PurpleI2P/i2pd.git
$ cd i2pd
Or if the repository was already cloned before and you want to update it:
$ cd /some/directory/i2pd
$ git pull
Then, generate the makefile and compile the source. You can also
[pass options to cmake](https://i2pd.readthedocs.io/en/latest/devs/building/unix/#cmake-options)
to customize your makefile:
$ cd i2pd/build
$ cd build
$ cmake .
$ make
@ -98,17 +104,22 @@ version and creates the file automatically if the version is 7.1 or newer.
This new login class will be used by the user `_i2pd` created in the following
steps.
Next, clone this git repository:
Next, clone this git repository if it wasn't cloned before:
$ cd /a/folder/of/your/choice/where/to/clone/the/repo
$ cd /any/directory
$ git clone https://gitlab.com/alpou/i2pd-rc-openbsd.git
$ cd i2pd-rc-openbsd
Or if the repository was already cloned before and you want to update it:
$ cd /any/directory/i2pd-rc-openbsd
$ git pull
Then, simply run the makefile. This will create a dedicated user and group to run
I2Pd, both called `_i2pd`, and give them ownership of the binaries compiled
previously. The login class described above will also be created if you are using
OpenBSD 7.1 or newer, and the init script will be copied in `/etc/rc.d`.
$ cd i2pd-rc-openbsd
$ doas make install
The final step is to enable the service to make it start at boot time and then to