Просмотр исходного кода

Merge branch 'master' of https://github.com/2DU/opennamu

Surplus_Up (2DU) 7 лет назад
Родитель
Сommit
39d33721f9

+ 0 - 12
conf_example/apache/httpd-vhost.conf

@@ -1,12 +0,0 @@
-<VirtualHost *:80>
-    DocumentRoot <doc root>
-    ServerName <hostname>
-    ErrorLog <errlog path>
-    CustomLog <customlog path> common
-    
-    ProxyRequests           Off
-    ProxyPreserveHost       On      
-    
-    ProxyPass           http://localhost:<port>
-    ProxyPassReverse    http://localhost:<port>
-</VirtualHost> 

+ 0 - 3
conf_example/apache/httpd.conf

@@ -1,3 +0,0 @@
-LoadModule proxy_module modules/mod_proxy.so
-LoadModule proxy_connect_module modules/mod_proxy_connect.so
-LoadModule proxy_http_module modules/mod_proxy_http.so

+ 0 - 24
conf_example/nginx-ssl.conf

@@ -1,24 +0,0 @@
-server {
-    listen       80;
-    server_name  <domain>;
-  
-    return       301 https://$server_name$request_uri;
-}
-  
-  
-server {
-    listen       443 ssl;
-    server_name  <domain>;
- 
-    ssl_certificate "<certificate file path>";
-    ssl_certificate_key "<private key file path>";
-  
-    location / {
-        proxy_redirect off;
-        proxy_pass_header Server;
-        proxy_set_header Host $http_host;
-        proxy_set_header X-Real-IP $remote_addr;
-        proxy_set_header X-Scheme $scheme;
-        proxy_pass http://localhost:<port>/;
-    }
-}

+ 0 - 15
conf_example/nginx.conf

@@ -1,15 +0,0 @@
-server {
-   listen 80;
-   listen [::]:80;
-
-   server_name <domain>;
-
-   location / {
-   proxy_redirect off;
-   proxy_pass_header Server;
-   proxy_set_header Host $http_host;
-   proxy_set_header X-Real-IP $remote_addr;
-   proxy_set_header X-Scheme $scheme;
-   proxy_pass http://localhost:<port>;
-   }
-}

+ 5 - 45
readme-ko.md

@@ -8,7 +8,6 @@ openNAMU
 오픈나무는 파이썬 기반의 위키 엔진입니다. 파이썬과 그 의존성 모듈만 설치하면 사용할 수 있으며, 코드를 직접 수정하여 좀 더 주제에 특화된 위키를 만들 수 있습니다.
 
 ### 목차
- * [시작하기](#시작하기)
  * [클론](#클론)
  * [기여](#기여)
  * [라이선스](#라이선스)
@@ -18,55 +17,18 @@ openNAMU
 # 시작하기
 오픈나무는 파이썬 환경에서 동작하는 파이썬 애플리케이션으로, 파이썬 환경을 필요로 합니다.
 
-## 환경 구성
-### 파이썬 설치
-[파이썬 설치 가이드](https://github.com/404-sdok/how-to-python/blob/master/0.md)를 참고하여 파이썬을 설치합니다.
-
-### 릴리즈 다운로드
-[릴리즈](https://github.com/2du/openNAMU/releases)에서 openNAMU의 릴리즈 판을 다운로드 받고, 압축을 해제합니다. 레포지토리를 클론하여 릴리즈를 적용하는 것도 가능합니다. 자세한 내용은 [클론](#클론)문단을 참고하세요.
-
-### 모듈 설치
-다음 명령어로 openNAMU 구성 파일이 위치한 디렉토리로 이동합니다.
-```
-cd [path]
-```
-
-
-다음 명령어로 openNAMU 실행에 필요한 모듈을 설치합니다.
-```
-pip install -r requirements.txt
-```
-리눅스 환경의 경우 다음 명령으로 실행해야 합니다.
-```
-pip3 install -r requirements.txt
-```
-## 애플리케이션 시작
-### 애플리케이션 시작
-openNAMU를 시작합니다.
-```
-python app.py
-```
-리눅스 환경의 경우 다음 명령으로 실행해야 합니다.
-```
-python3 app.py
-```
-
-* openNAMU의 첫 계정은 소유자 계정으로 설정됩니다.
-
-### 애플리케이션 공개
-현재 openNAMU에서 권장하는 애플리케이션 공개 방법은 아파치나 nginx와 같은 웹 서버 구동 소프트웨어를 통해 리버스 프록시를 설정하는 것입니다.
-
-* ([apache 설정 파일 예시](./conf_example/apache/), [nginx 설정 파일 예시](./conf_example/nginx.conf))
-
-만약 HTTPS 리버스 프록시를 설정하는 경우, 보안을 위해 openNAMU 설정에서 호스트를 localhost 환경으로 변경할 것을 권장합니다.
+쉬운 오픈나무 설치를 위해 오픈나무 가이드를 따로 생성해두었으며, [이곳](https://github.com/Make-openNAMU/guide)에서 확인하실 수 있습니다.
 
+가이드 목록
+ * [파이썬 설치](https://github.com/Make-openNAMU/guide/blob/master/articles/ko-kr/install-python.md)
+ * [오픈나무 시작](https://github.com/Make-openNAMU/guide/blob/master/articles/ko-kr/start-opennamu.md)
 
 # 클론
 아래 명령을 터미널(명령 프롬프트)에 입력하여 본 리포지토리를 클론할 수 있습니다.
 ## 일반
  * `git clone -b stable https://github.com/2du/openNAMU.git`
 
-## 베타
+## 개발중
  * `git clone -b master https://github.com/2du/openNAMU.git`
 
 # 기여
@@ -100,5 +62,3 @@ openNAMU 프로젝트는 [BSD 3-Clause License](./LICENSE)(이하 BSD-3 라이
 `set.json`은 삭제해도 다시 새로 만들 수 있습니다.
 
 [테스트 서버](http://namu.ml/)
-
-첫 번째 가입자에게 소유자 권한이 부여됩니다.