Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit52e3f73

Browse files
author
Vladimir Ershov
committed
web files doc
1 parent6ad88b9 commit52e3f73

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

‎web/README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
#Простейшее веб приложение для простомтра активности
2+
3+
Здесь находится пример конфигурации`nginx` и js скрипты для построения
4+
web сервера, который позволяет просматривать автивность планировщика задач
5+
в какой-то одной базе.
6+
7+
Приложение сделано исключительно для тестов!!!
8+
9+
##Установка
10+
11+
###Сборка nginx
12+
13+
Для сборки веб сервера потребуются следующие модули:
14+
15+
***ngx_postgres** -https://github.com/FRiCKLE/ngx_postgres
16+
***rds-json-nginx-module** -https://github.com/openresty/rds-json-nginx-module
17+
18+
Загрузите их или склонируйте из GITHUB.
19+
20+
$ ./configure --add-module=../rds-json-nginx-module --add-module=../ngx_postgres
21+
$ make
22+
$ make install
23+
24+
###Установка файлов
25+
26+
Скопируйте`nginx-conf/nginx.conf` в директорию, где находятся
27+
конфигурационные файлы`nginx`. Обычно это`/usr/local/nginx/conf/`.
28+
29+
$ cp nginx-conf/nginx.conf /usr/local/nginx/conf/
30+
31+
Создайте директорию`/usr/local/share/pgpro_scheduler/htdocs` и скопируйте в
32+
нее содержимое директории`htdocs`.
33+
34+
$ mkdir /usr/local/share/pgpro_scheduler/htdocs
35+
$ cp -r htdocs/* /usr/local/share/pgpro_scheduler/htdocs
36+
37+
##Настройка
38+
39+
В конфигурационном файле`nginx` нужно поменять директиву`upstream`, где нужно
40+
указать правильные реквизиты доступа к postgres.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp