-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathINSTALL
44 lines (29 loc) · 1.26 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
Samplecat installation
----------------------
Please report any problems at https://github.com/ayyi/samplecat
1 - configure, make, make install.
The configure script will report missing dependencies.
For some distributions the list of package dependencies
can be seen in the Docker files in the test directory.
Currently Debian, Ubuntu, Fedora and Arch are included.
For example see these files:
- test/ubuntu-18/dependencies
- test/ubuntu-20/dependencies
- test/arch/dependencies
- test/opensuse-leap/dependencies
- test/fedora-34/dependencies
2 - if you are using Mysql, you need to setup the database.
(Sqlite setup is done automatically)
The database schema is contained in the file samples.sql
You can import this by runnig the command:
mysql -u<USERNAME> -p < samples.sql
3 - running the program will create a default config file
(~/.config/samplecat/samplecat) that you should edit with
your database access information.
If installing directly from the repository rather than from
a tarball, some additional steps are needed before you can
build:
./autogen.sh
If you subsequently need to update the submodules as part of a git pull:
git submodule foreach git pull origin master
make clean