Mercurial Hosting > hghosting
annotate doc/install.txt @ 1:92a0646e38b6
fix backup
author | fffilimonov |
---|---|
date | Thu, 12 May 2022 05:32:53 -0500 |
parents | dfc36e7ed22c |
children | 3e8c7d089e30 |
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 | |
11 hg clone https://hg.luan.software/hghosting | |
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 |