diff doc/install.txt @ 0:dfc36e7ed22c

init
author Vadim Filimonov <fffilimonov@yandex.ru>
date Thu, 12 May 2022 13:51:59 +0400
parents
children 3e8c7d089e30
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/install.txt	Thu May 12 13:51:59 2022 +0400
@@ -0,0 +1,22 @@
+Install on local machine:
+
+1) install mercurial
+  brew install hg
+
+2) install java
+  brew tap caskroom/versions
+  brew install caskroom/cask/java8
+
+3) clone repo
+  hg clone https://hg.luan.software/hghosting
+
+4) Install nginx
+  brew tap denji/nginx
+  brew install nginx-full
+
+5) Make sudo nginx without password
+  add string to /etc/sudoers
+  %admin ALL=(ALL) NOPASSWD: /usr/local/bin/nginx
+
+6) compile
+  ./update.sh