-
Notifications
You must be signed in to change notification settings - Fork 4
/
INSTALL
52 lines (38 loc) · 1.96 KB
/
INSTALL
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Dependencies:
Postgres: See README.pg
Must have running postgresql server. Run initdb as postgres user and
create a user with the name of the user that will run the MyCHIPs server
(mychips).
Ruby postgresql plugin
dnf install postgresql-devel redhat-rpm-config ruby-devel
gem install json
gem install pg ;or
dnf install rubygem-pg (had trouble with this)
ruby-tcltk
gem install tk ;or (was libtcltk)
dnf install rubygem-tk
-----------------------------------------------------------------------
Wyseman includes an executable that can be run in a variety of modes
to help you build and maintain a PostgreSQL database schema.
For running the executable, you need to make sure it is installed
somewhere in your PATH. The Makefile will install in /usr/local/bin by
default. You can set the environment variable WYBIN to something else
and the Makefile should pick that up.
-----------------------------------------------------------------------
Additionally, wyseman includes a run-time loadable Tcl library that can be
included by a Tcl application to access the database's data dictionary.
To access the Tcl library, it must be installed in a directory that is part
of your TCLLIBPATH variable (usually defaults to /usr/lib or /usr/share).
If you run (as root)
"make install"
in the current directory, it should install the executable in
/usr/local/bin and the run-time library under /usr/lib. If you set the
environment variable WYLIB to some directory, the run-tine library will
be installed there.
-----------------------------------------------------------------------
Optionally, wyseman can also create a run-time loadable Tcl library that
provides default view information (like how to display the fields of
a table in a multi-editing widget).
This library can be built using the "make lib" option (as long as you
have properly authored .wmd files in your schema directory).
See the description for .wmd files in the README for more information.