2019-12-18 11:57:20 -05:00
|
|
|
// SPDX-FileCopyrightText: Retroshare Team <contact@retroshare.cc>
|
|
|
|
// SPDX-License-Identifier: CC-BY-SA-4.0
|
|
|
|
|
2019-11-27 17:32:38 -05:00
|
|
|
= RetroShare
|
|
|
|
|
|
|
|
RetroShare is a decentralized, private, secure, cross-platform, communication
|
|
|
|
toolkit.
|
2020-02-12 19:46:51 -05:00
|
|
|
RetroShare provides file sharing, chat, messages, forums, channels and more.
|
2019-11-27 17:32:38 -05:00
|
|
|
|
|
|
|
.Build Status
|
|
|
|
|===============================================================================
|
2022-02-25 10:57:07 -05:00
|
|
|
|GNU/Linux (via Gitlab CI) | image:https://gitlab.com/RetroShare/RetroShare/badges/master/pipeline.svg[link="https://gitlab.com/RetroShare/RetroShare/-/commits/master",title="pipeline status"]
|
2020-02-12 19:46:51 -05:00
|
|
|
|Windows (via AppVeyor) | image:https://ci.appveyor.com/api/projects/status/github/RetroShare/RetroShare?svg=true[link="https://ci.appveyor.com/project/RetroShare58622/retroshare"]
|
2021-09-02 06:07:04 -04:00
|
|
|
|macOS, (via Travis CI) | image:https://app.travis-ci.com/RetroShare/RetroShare.svg?branch=master[link="https://app.travis-ci.com/github/RetroShare/RetroShare"]
|
2022-02-25 10:57:07 -05:00
|
|
|
|libretroshare GNU/Linux, Android (via Gitlab CI) | image:https://gitlab.com/RetroShare/libretroshare/badges/master/pipeline.svg[link="https://gitlab.com/RetroShare/libretroshare/-/commits/master",title="pipeline status"]
|
2019-11-27 17:32:38 -05:00
|
|
|
|===============================================================================
|
|
|
|
|
2022-01-10 15:59:39 -05:00
|
|
|
== Get the source
|
|
|
|
|
|
|
|
Clone this repository, enter the directory and then get the submodules with the
|
|
|
|
following command
|
|
|
|
|
|
|
|
[source,bash]
|
|
|
|
--------
|
2022-01-11 06:49:18 -05:00
|
|
|
git submodule update --init --remote --force libbitdht/ libretroshare/ openpgpsdk/
|
2022-01-10 15:59:39 -05:00
|
|
|
--------
|
|
|
|
|
2019-11-27 17:32:38 -05:00
|
|
|
|
|
|
|
== Compilation
|
|
|
|
|
2020-02-12 19:46:51 -05:00
|
|
|
Short of comprehensive and updated documentation on how to build RetroShare
|
|
|
|
(for the many supported platforms it runs on), scripts and recipes are provided
|
|
|
|
in the aim of creating packages for the supported platforms (and more)
|
|
|
|
in the `build_scripts` directory of this repository.
|
2019-11-27 17:32:38 -05:00
|
|
|
|
2019-11-28 10:29:10 -05:00
|
|
|
Those packaging receipts together with the continuous integration files
|
|
|
|
`.travis.yml` and `appveyor.yml` are a good source of knowledge on how to
|
|
|
|
compile RetroShare on different platforms.
|
2019-11-28 09:48:17 -05:00
|
|
|
|
2019-11-27 17:32:38 -05:00
|
|
|
|
2020-02-12 19:46:51 -05:00
|
|
|
== Using RetroShare on a headless computer with web UI
|
2019-11-27 17:32:38 -05:00
|
|
|
|
2020-02-12 19:46:51 -05:00
|
|
|
WARNING: This section is outdated need to be adapted to the new web UI
|
2019-11-27 17:32:38 -05:00
|
|
|
|
2020-02-12 19:46:51 -05:00
|
|
|
The web UI needs to be enabled as a parameter option to the retroshare-service:
|
2019-11-27 17:32:38 -05:00
|
|
|
|
|
|
|
[source,bash]
|
|
|
|
--------
|
|
|
|
./retroshare-nogui --webinterface 9090 --docroot /usr/share/retroshare/webui/
|
|
|
|
--------
|
|
|
|
|
2020-02-12 19:46:51 -05:00
|
|
|
The web UI is only accessible on localhost:9090. It is advised to keep it that way so that your RS
|
2019-11-27 17:32:38 -05:00
|
|
|
cannot be controlled using an untrusted connection.
|
|
|
|
|
2020-02-12 19:46:51 -05:00
|
|
|
To access your web UI from a distance, just open a SSH tunnel to it:
|
2019-11-27 17:32:38 -05:00
|
|
|
|
|
|
|
[source,bash]
|
|
|
|
--------
|
|
|
|
distant_machine:~/ > ssh rs_host -L 9090:localhost:9090 -N
|
|
|
|
--------
|
|
|
|
|
2020-02-12 19:46:51 -05:00
|
|
|
"rs_host" is the machine running `retroshare-nogui`. Then on the distant machine, access your web UI on
|
2019-11-27 17:32:38 -05:00
|
|
|
|
|
|
|
|
|
|
|
http://localhost:9090
|
|
|
|
|
2020-02-12 19:46:51 -05:00
|
|
|
(This can also be done from the RetroShare GUI.)
|