You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3a9954e various: work on readme (Cameron Garnham)
Pull request description:
ACKs for top commit:
da2ce7:
ACK 3a9954e
Tree-SHA512: cf62723ce1999b84665421b1c8ed099ba907b86816bdf88e867df5b640ea96ba8f05e9953efacd1bc52de027a0288eb9c0da1f23e1cb0f7c5be2f625926760d4
__Torrust Index__, is a [BitTorrent][bittorrent]Index (a service where a group of people can maintain a set of torrents and their associated metadata), written in [Rust Language][rust]and [axum](a modern web application framework). ___This index aims to be respectful to established standards, (both [formal][BEP 00] and [otherwise][torrent_source_felid]).___
5
+
__Torrust Index__, is a library for [BitTorrent][bittorrent]Files. Written in [Rust Language][rust]with the [axum] web framework. ___This index aims to be respectful to established standards, (both [formal][BEP 00] and [otherwise][torrent_source_felid]).___
6
6
7
7
> This is a [Torrust][torrust] project and is in active development. It is community supported as well as sponsored by [Nautilus Cyberneering][nautilus].
8
8
9
-
-_We have a [container guide][containers.md] for those who wish to get started with __Docker__ or __Podman___
9
+
## About
10
+
The core purpose of a [BitTorrent][bittorrent] Index is to maintain a database that connects torrent files with useful metadata. Allowing a community of users to keep track their torrents in a well organized and informative manner.
11
+
12
+
The __Torrust Index__ serves a [high-level api][api] for our [Torrust Index GUI][gui] client. It also connects to the [management api][api_tracker] of our [Torrust Tracker][tracker], to provide statistic and whitelisting functionally.
10
13
11
14
## Key Features
12
15
13
16
-[x] High Quality and Modern Rust Codebase.
14
-
-[x][Rest API][documentation] documentation generated from code comments.
17
+
-[x][Documentation][docs] Generated from Code Comments.
15
18
-[x][Comprehensive Suit][coverage] of Unit and Functional Tests.
16
19
-[x] Good Performance in Busy Conditions.
17
20
-[x] Native `IPv4` and `IPv6` support.
18
-
-[x] Support for either `SQLite3` or `MySQL` databases.
19
-
-[x] Categories and Tags
20
-
-[x] Image Proxy
21
+
-[x] Persistent `SQLite3` or `MySQL` Databases.
21
22
22
23
## Getting Started
23
24
25
+
### Upgrading
26
+
If you are using `Version 1` of `torrust-tracker-backend`, please view our [upgrading guide][upgrade.md].
27
+
24
28
### Container Version
25
29
26
30
The Torrust Index is [deployed to DockerHub][dockerhub], you can run a demo immediately with the following commands:
@@ -41,36 +45,78 @@ podman run -it torrust/index:develop
41
45
42
46
### Development Version
43
47
44
-
Requirements:
48
+
- Please assure you have the ___[latest stable (or nightly) version of rust][rust]___.
49
+
- Please assure that you computer has enough ram. ___Recommended 16GB.___
# Customize the index configuration (for example):
76
+
vim ./storage/index/etc/index.toml
77
+
78
+
# Run the index with the updated configuration:
79
+
TORRUST_INDEX_PATH_CONFIG="./storage/index/etc/index.toml" cargo run
80
+
```
81
+
82
+
_Optionally, you may choose to supply the entire configuration as an environmental variable:_
45
83
46
-
* Rust Stable `1.72`
84
+
```sh
85
+
# Use a configuration supplied on an environmental variable:
86
+
TORRUST_INDEX_CONFIG=$(cat "./storage/index/etc/index.toml") cargo run
87
+
```
47
88
48
-
You can follow the [documentation][documentation] to install and use Torrust Index in different ways, but if you want to give it a quick try, you can use the following commands:
89
+
_For deployment you __should__ override the `tracker_api_token` by using an environmental variable:_
And then run `cargo run` twice. The first time to generate the `config.toml` file and the second time to run the index with the default configuration.
99
+
> Please view our [crate documentation][docs] for more detailed instructions.
57
100
58
-
After running the index the API will be available at <http://localhost:3001>.
101
+
### Services
102
+
The following services are provided by the default configuration:
The technical documentation is available at [docs.rs][documentation].
109
+
-[API (Version 1)][api]
63
110
64
111
## Contributing
65
-
66
-
This is an open-source community supported project.</br>
67
-
We welcome contributions from the community!
112
+
We are happy to support and welcome new people to our project. Please consider our [contributor guide][guide.md].</br>
113
+
This is an open-source community supported project. We welcome contributions from the community!
68
114
69
115
__How can you contribute?__
70
116
71
117
- Bug reports and feature requests.
72
118
- Code contributions. You can start by looking at the issues labeled "[good first issues]".
73
-
- Documentation improvements. Check the [documentation] and [API documentation][api] for typos, errors, or missing information.
119
+
- Documentation improvements. Check the [documentation][docs] and [API documentation][api] for typos, errors, or missing information.
74
120
- Participation in the community. You can help by answering questions in the [discussions].
75
121
76
122
## License
@@ -87,21 +133,23 @@ Some files include explicit copyright notices and/or license notices.
87
133
88
134
### Legacy Exception
89
135
90
-
For prosperity, versions of Torrust Index that are older than five years are automatically granted the [MIT-0][MIT_0] license in addition to the existing [AGPL-3.0-only][AGPL_3_0] license.
91
-
92
-
## Contributions
136
+
For prosperity, versions of Torrust Tracker that are older than five years are automatically granted the [MIT-0][MIT_0] license in addition to the existing [AGPL-3.0-only][AGPL_3_0] license.
93
137
94
-
The copyright of the Torrust Index is retained by the respective authors.
138
+
## Contributor Agreement
139
+
The copyright of the Torrust Tracker is retained by the respective authors.
95
140
96
141
**Contributors agree:**
97
-
- That all their contributions be granted a license(s) **compatible** with the [Torrust Index License](#License).
142
+
- That all their contributions be granted a license(s) **compatible** with the [Torrust Trackers License](#License).
98
143
- That all contributors signal **clearly** and **explicitly** any other compilable licenses if they are not: *[AGPL-3.0-only with the legacy MIT-0 exception](#License)*.
99
144
100
-
**The Torrust-Index project has no copyright assignment agreement.**
145
+
**The Torrust-Tracker project has no copyright assignment agreement.**
146
+
147
+
_We kindly ask you to take time and consider The Torrust Project [Contributor Agreement][agreement.md] in full._
101
148
102
149
## Acknowledgments
103
150
104
-
This project was a joint effort by [Nautilus Cyberneering GmbH](https://nautilus-cyberneering.de/), [Dutch Bits](https://dutchbits.nl) and collaborators. Thank you to you all!
151
+
This project was a joint effort by [Nautilus Cyberneering GmbH][nautilus] and [Dutch Bits].
@@ -116,20 +164,44 @@ This project was a joint effort by [Nautilus Cyberneering GmbH](https://nautilus
[good first issues]: https://github.com/torrust/torrust-index/issues?q=is%3Aissue+is%3Aopen
193
+
[good first issues]: https://github.com/torrust/torrust-index/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22
Copy file name to clipboardExpand all lines: docs/containers.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -143,9 +143,7 @@ The following environmental variables can be set:
143
143
-`TORRUST_INDEX_DATABASE_DRIVER` - The database type used for the container, (options: `sqlite3`, `mysql`, default `sqlite3`). Please Note: This dose not override the database configuration within the `.toml` config file.
144
144
-`TORRUST_INDEX_CONFIG` - Load config from this environmental variable instead from a file, (i.e: `TORRUST_INDEX_CONFIG=$(cat index-index.toml)`).
145
145
-`USER_ID` - The user id for the runtime crated `torrust` user. Please Note: This user id should match the ownership of the host-mapped volumes, (default `1000`).
146
-
-`UDP_PORT` - The port for the UDP index. This should match the port used in the configuration, (default `6969`).
147
-
-`HTTP_PORT` - The port for the HTTP index. This should match the port used in the configuration, (default `7070`).
148
-
-`API_PORT` - The port for the index API. This should match the port used in the configuration, (default `1212`).
146
+
-`API_PORT` - The port for the index API. This should match the port used in the configuration, (default `3001`).
0 commit comments