File: README.Debian

package info (click to toggle)
sylph-searcher 1.2.0-13
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,752 kB
  • sloc: sh: 8,890; ansic: 2,808; makefile: 46; sql: 29
file content (37 lines) | stat: -rw-r--r-- 853 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Preparing Sylph-Sercher
=======================

 First of all, create postgresql user (e.g. sylphuser) as postgresql 
 administrator role. Then, create DB (e.g. sylph) with postgresql user role
 and set postgresql user password.
 
> $ su postgres
> $ createuser sylphuser
> $ createdb -O sylphuser -E UTF-8 sylph 
> $ psql 
>
> Welcome to psql 8.3.9, the PostgreSQL interactive terminal.
>
> Type:  \copyright for distribution terms
>       \h for help with SQL commands
>       \? for help with psql commands
>       \g or terminate with semicolon to execute query
>       \q to quit
>
> postgres=# \password sylph
> Enter new password: 
> Enter it again: 
> postgres=# \quit
>
> $ exit

 And run SQL script.

> $ psql -U sylphuser -f /usr/share/sylph-searcher/sql/create.sql sylph


How to use
==========

 see /usr/share/sylph-searcher/README file