GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - langdev/log.langdev.org: Logging bot and log viewer for LangDev

BranchesTags
Open more actions menu

Latest commit

 

History

174 Commits
174 Commits

Folders and files

NameName
Last commit message
Last commit date
logviewer
logviewer
 
 
sphinx
sphinx
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
AUTHORS
AUTHORS
 
 
INSTALL
INSTALL
 
 
LICENSE
LICENSE
 
 
README.markdown
README.markdown
 
 
gen_sphinx_conf.sh
gen_sphinx_conf.sh
 
 
manage.py
manage.py
 
 
reset.sh
reset.sh
 
 
setup.py
setup.py
 
 
style.css
style.css
 
 
synonyms
synonyms
 
 
tox.ini
tox.ini
 
 

Repository files navigation

싱싱한 산낚지

이 저장소는 LangDev 채널 로그 뷰어(http://log.langdev.org/) 서비스의 소스 코드를 담고 있습니다.

시작하기

준비

LangDev 포럼에 접속 후, http://langdev.org/apps/ 페이지에서 새로운 애플리케이션을 생성합니다. 발급받은 애플리케이션 키와 비밀키는 logviewer/settings.py에서 사용됩니다.

IRC 봇과 로그 뷰어가 사용할 로그 폴더를 만듭니다. 편의상 저장소 내의 logs 폴더라고 합시다.

개발환경 설치

Python으로 작성된 로그 뷰어는 logviewer 폴더 내에 있는데, Flask 프레임워크를 사용한 웹 애플리케이션으로 되어 있습니다. virtualenv와 distribute 및 pip을 사용하시면 개발환경 설정에 도움이 됩니다. 자세한 설정법은 다음 게시물을 참고하십시오. http://yong27.biohackers.net/373

pip을 사용한다고 가정했을 때, 다음 명령으로 필요한 모든 라이브러리를 설치할 수 있습니다.

$ pip install -e .
# 또는 pip 없이 이렇게도 할 수 있습니다.
$ python setup.py develop

설정

logviewer/settings.py.sample 파일을 복사하여 logviewer/settings.py 파일을 만들고 내용을 수정하십시오. LangDev 포럼에서 받은 애플리케이션 키를 여기에 넣습니다.

로그 수집

로그 뷰어를 실행하기 위해서는 먼저 로그 봇을 실행하여 IRC 로그를 수집해야 합니다.

$ python manage.py runbot --config=settings.py

로그 뷰어(웹서버) 실행

로그가 어느 정도 쌓이고 나면 이제 다음 명령으로 웹서버를 실행할 수 있습니다.

$ python manage.py runserver --config=settings.py
 * Running on http://0.0.0.0:5000/
 * Restarting with reloader

이제 http://localhost:5000/과 같은 주소로 접속하면 로그 뷰어를 볼 수 있습니다.

검색 엔진

설치

Sphinx를 설치합니다. 현재 64비트 환경에서만 작동이 보장됩니다.

설정

  1. 소스 코드 디렉토리에서 reset.sh를 실행하여 sphinx.conf와 인덱스 파일을 생성합니다.
  2. 서버를 실행합니다: searchd --config sphinx.conf
  3. cron 등으로 indexer --config sphinx.conf --all --rotate를 주기적으로 실행해서 인덱스가 갱신되게 합니다.

About

Logging bot and log viewer for LangDev

log.langdev.org/

Resources

Readme
License
Activity
Custom properties

Stars

8 stars

Watchers

0 watching

Forks

5 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.