annotate doc/install.txt @ 0:dfc36e7ed22c

init
author Vadim Filimonov <fffilimonov@yandex.ru>
date Thu, 12 May 2022 13:51:59 +0400
parents
children 3e8c7d089e30
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
1 Install on local machine:
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
2
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
3 1) install mercurial
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
4 brew install hg
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
5
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
6 2) install java
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
7 brew tap caskroom/versions
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
8 brew install caskroom/cask/java8
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
9
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
10 3) clone repo
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
11 hg clone https://hg.luan.software/hghosting
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
12
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
13 4) Install nginx
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
14 brew tap denji/nginx
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
15 brew install nginx-full
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
16
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
17 5) Make sudo nginx without password
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
18 add string to /etc/sudoers
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
19 %admin ALL=(ALL) NOPASSWD: /usr/local/bin/nginx
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
20
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
21 6) compile
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
22 ./update.sh