blob: ef2cc3580b1e837e9fcaed0b0958396d5c8bfb70 (
plain)
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
|
Gentoostats
===========
Server
======
Dependencies
------------
dev-db/mysql
dev-python/mysql-python
dev-python/webpy
=dev-lang/python-2.*
Instructions
------------
* Start the mysql server
* Execute server/sql/setup.sql as mysql root user
mysql -u root -p < server/sql/setup.sql
* Execute server/sql/init.sql as user gentoo, password gentoo
mysql -u gentoo -p < server/sql/init.sql
* Start the main.py script, either from the server/ directory or
by exporting PYTHONPATH
export PYTHONPATH=server/
server/main.py
Client
======
Dependencies
------------
=dev-lang/python-2.*
app-portage/gentoolkit
Instructions
------------
* Set host uuid and password in client/bin/client
* Execute client/bin/client as root or some user in portage group
export PYTHONPATH=client/
client/bin/client
P.S. All paths are relative to source directory
|