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
Copy file name to clipboardExpand all lines: server/src/config.rs
+8-9Lines changed: 8 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -65,8 +65,8 @@ pub struct Opts {
65
65
#[clap(long, env = "ATOMIC_CONFIG_DIR")]
66
66
pubconfig_dir:Option<PathBuf>,
67
67
68
-
/// Path for atomic data store folder.
69
-
#[clap(long, env = "ATOMIC_STORE_DIR")]
68
+
/// Path for atomic data store folder. Contains your Store, uploaded files and more. Default value depends on your OS.
69
+
#[clap(long, env = "ATOMIC_DATA_DIR")]
70
70
pubdata_dir:Option<PathBuf>,
71
71
72
72
/// CAUTION: Makes data publicly readable on the `/search` endpoint. When enabled, it allows POSTing to the /search endpoint and returns search results as single triples, without performing authentication checks. See https://github.com/atomicdata-dev/atomic-data-rust/blob/master/server/rdf-search.md
@@ -170,23 +170,23 @@ pub struct Config {
170
170
/// CLI + ENV options
171
171
pubopts:Opts,
172
172
// === PATHS ===
173
-
/// Path for atomic data config `~/.config/atomic/`. Used to construct most other paths.
173
+
/// Path for atomic data config. Used to construct most other paths.
174
174
pubconfig_dir:PathBuf,
175
-
/// Path where TLS key should be stored for HTTPS. (defaults to `~/.config/atomic/https/key.pem`)
175
+
/// Path where TLS key should be stored for HTTPS.
176
176
pubkey_path:PathBuf,
177
-
/// Path where TLS certificate should be stored for HTTPS. (defaults to `~/.config/atomic/https/cert.pem`)
177
+
/// Path where TLS certificate should be stored for HTTPS.
178
178
pubcert_path:PathBuf,
179
-
/// Path where TLS certificates should be stored for HTTPS. (defaults to `~/.config/atomic/https`)
179
+
/// Path where TLS certificates should be stored for HTTPS.
180
180
pubhttps_path:PathBuf,
181
-
/// Path where config.toml is located, which contains info about the Agent (defaults to `~/.config/atomic/config.toml`)
181
+
/// Path where config.toml is located, which contains info about the Agent
182
182
pubconfig_file_path:PathBuf,
183
183
/// Path where the public static files folder is located
184
184
pubstatic_path:PathBuf,
185
185
/// Path to where the store / database is located.
186
186
pubstore_path:PathBuf,
187
187
/// Path to where the uploaded files are stored.
188
188
pubuploads_path:PathBuf,
189
-
/// Path to where the search index for tantivy full text search is located (defaults to `~/.config/atomic/search_index`)
189
+
/// Path to where the search index for tantivy full text search is located
190
190
pubsearch_index_path:PathBuf,
191
191
/// If true, the initialization scripts will be ran (create first Drive, Agent, indexing, etc)
0 commit comments