Skip to content

Commit 2e29706

Browse files
committed
docs:Update tracker-installation
1 parent 9a1ce0e commit 2e29706

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/lib.rs

+17
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,19 @@
121121
//!
122122
//! By default the tracker uses `SQLite` and the database file name `data.db`.
123123
//!
124+
//! We will have to have a file to save the torrust-tracker, which we will call "torrust".
125+
//!
126+
//! ```text
127+
//! mkdir torrust
128+
//! cd torrust/
129+
//! ```
130+
//!
124131
//! You only need the `tls` directory in case you are setting up SSL for the HTTP tracker or the tracker API.
125132
//! Visit [`HTTP`](crate::servers::http) or [`API`](crate::servers::apis) if you want to know how you can use HTTPS.
126133
//!
127134
//! ## Install from sources
128135
//!
136+
//!
129137
//! ```text
130138
//! git clone https://github.com/torrust/torrust-tracker.git \
131139
//! && cd torrust-tracker \
@@ -134,6 +142,15 @@
134142
//! && mkdir -p ./storage/tracker/lib/tls
135143
//! ```
136144
//!
145+
//! To run the tracker we will have to use the command "cargo run" this will have to compile data while being executed and after being compiled it will start running the tracker.
146+
//!
147+
//! ```text
148+
//! cargo run
149+
//! ```
150+
//!
151+
//! If you want to configure your tracker further, you can go to the "Configuration" section to configure it to your liking.
152+
//!
153+
//!
137154
//! ## Run with docker
138155
//!
139156
//! You can run the tracker with a pre-built docker image. Please refer to the

0 commit comments

Comments
 (0)