Mercurial Hosting > hghosting
annotate doc/install.txt @ 26:d3b72a8bfbe9 default tip
Add rate limiting, change moveLogs.sh to only operate on non-empty files
| author | Violet7 | 
|---|---|
| date | Sat, 01 Nov 2025 22:12:56 -0700 | 
| parents | 3e8c7d089e30 | 
| children | 
| rev | line source | 
|---|---|
| 0 | 1 Install on local machine: | 
| 2 | |
| 3 1) install mercurial | |
| 4 brew install hg | |
| 5 | |
| 6 2) install java | |
| 7 brew tap caskroom/versions | |
| 8 brew install caskroom/cask/java8 | |
| 9 | |
| 10 3) clone repo | |
| 17 | 11 hg clone https://hg.reactionary.software/hghosting | 
| 0 | 12 | 
| 13 4) Install nginx | |
| 14 brew tap denji/nginx | |
| 15 brew install nginx-full | |
| 16 | |
| 17 5) Make sudo nginx without password | |
| 18 add string to /etc/sudoers | |
| 19 %admin ALL=(ALL) NOPASSWD: /usr/local/bin/nginx | |
| 20 | |
| 21 6) compile | |
| 22 ./update.sh | 
