Skip to content

Commit

Permalink
doc: add host / port to readme #11
Browse files Browse the repository at this point in the history
  • Loading branch information
vladkens committed Aug 28, 2024
1 parent 59156c1 commit 26cac32
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
{
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer",
"editor.formatOnSave": true,
"editor.defaultFormatter": "rust-lang.rust-analyzer"
},
"[toml]": {
"editor.defaultFormatter": "tamasfe.even-better-toml"
},
"[markdown]": {
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 99
},
"editor.formatOnSave": true,
"files.exclude": { "Cargo.lock": true },
"rust-analyzer.lens.implementations.enable": false,
"terminal.integrated.tabStopWidth": 2,
"code-runner.executorMap": {
"rust": "cargo run -r #$fileName",
},
"rust": "cargo run -r #$fileName"
}
}
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ All public repositories that can be accessed are saved. If you need more detaile

## Configuration

### Host & Port

You can to change default host / port app will run on with `HOST` (default `0.0.0.0`) and `PORT` (default `8080`) environment variables.

### Custom links

If you plan to display your stats publicly, there is an option to add custom links to the header via environment variables, e.g.:
Expand Down

0 comments on commit 26cac32

Please sign in to comment.