-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
63 lines (49 loc) · 2.26 KB
/
README.txt
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
53
54
55
56
57
58
59
60
61
62
63
This project provides a command-line interface to 'Garfield',
the Point-of-Sales system used at the FSMI at the University
of Karlsruhe, as well as supplementary tools related to it.
The main components are:
- shell (garfield-shell)
A wrapper providing a persistent interaction
framework with the Garfield tools
- garfield-snack
This module interfaces the snack subsystem,
providing functionality for finding and buying
snacks
- garfield-user
Interfaces the user subsystem, such as snack
account balances and user management
Most modules can be built on Linux based systems as well as on
windows (using the corresponding make target).
Prerequisites (Linux)
- libpq-dev
- make
- A C compiler (tcc works fine)
Prerequisites (Windows)
- libpq headers, definitions and shared libraries
Can be acquired from the PostgreSQL git and/or
the pgAdmin application (libintl.dll and libpq.dll)
- OpenSSL shared libraries (ssleay32.dll)
- advapi32 and ws2_32 headers and definitions
Should probably have come shipped with your compiler,
but can alternatively be taken from MinGW or generated
- make (Not a hard requirement, it shouldn't be too hard to build
the modules by hand)
Compile the project by executing 'make' (or 'make windows', respectively).
This will use whatever 'cc' expands to on your system to compile the modules,
which might lead to problems on windows, so either edit the makefiles
or make sure you have some executable (eg, Batch file) named 'cc' in your path
that resolves to whatever compiler you want to use (again, tcc works fine here).
Linux users may also wish to execute 'make install' in order to have easier access
to the garfield-shell and garfield-snack commands.
Additionally, this repo contains
- bash-completion
Completion scripts for shell environments
- garfield-api
A PHP/PDO API with a simple AJAX frontend implementation.
Build/setup/usage information for these subprojects is probably located
in the respective folders.
The garfield-shell project is released as free-to-use and free-to-modify
software under the respective licenses found in the individual folders.
The authors greatly appreciate bug/issue reports, feature requests and
general feedback. They also happily accept snack donations ;)
mpease, cbdev | #kitinfo | 2013+