-
Notifications
You must be signed in to change notification settings - Fork 6
/
README
51 lines (30 loc) · 1.6 KB
/
README
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
* Supported OS
GNU/Linux
* Requirements:
For driver: libusb-dev, libudev-dev, libpq-dev
For web interface: apache2 with apache2-mod-php5 (or other web browser with php support), postgresql
For database handling postgresql server is also required. psql client is recommended for debugging purposes.
* How to compile
firstly create bin directory in the project tree: mkdir bin
then run ``make'' in command line: make
* Installing web page
Run postgresql as user postgres and add user as role. Create database and allow user to do anything with the database. Basically you need to do (change <username> with your username):
Run psql and within the psql shell type in:
create table <username>;
grant all privileges on database <username> to <username>;
I would also recommend:
grant all privileges on database <username> to root;
Finish with
\q
As normal user type in bash shell: psql
\i sql-tables/polar-createtable
Copy directory web where it can be found by web browser. Edit config.php and enter your username and password required to access database.
* Inclusion of files from other authors
Part of package includes hidapi project, licensed under GPLv3, BSD and HIDAPI license. Terms under GPLv3 are chosen in this project.
* License
This work is licenced under GPL v3 or later. Please read LICENSE for more information.
* TODO
- Make a simple portal with excercise analysis. Make a better analyses and provide user feedback.
- Parse training program data.
- Parse data from footpod. I don't have it handy, so if you need this functionality consider lending me one ;).
- Daemonize process of reading from flowlink.