-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnotes.txt
More file actions
79 lines (53 loc) · 1.74 KB
/
notes.txt
File metadata and controls
79 lines (53 loc) · 1.74 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
init
npx create-react-app <name>
npx use webpack for bundling and the Babel compiler
deploy using
npm run build
next.js as styling ramework
example of JS toolchain
package manager : yarn or npm
bundler : webpack or Parcel
compiler : Babel ...
make sure everything is set up for production
eg (bundling, minifying, React Dev browser plugin that check some env var...)
start server at
http://localhost:3000
npm start
=== React
Component to tell what to render (and update/refresh rendering)
// I had to force the use of bezier-js
v4.0.3 instead of the most up to date as it caused an export error
https://github.com/vasturiano/react-force-graph/issues/282
npm install
react react-dom react-force-graph-2d
google-protobuf bezier-js@4.0.3
=== Sage-Engine
Get the rl-xp branch (main branch doesn't work) and install dep via poetry :
git clone -b rl-xp https://github.com/sage-org/sage-engine
cd sage-engine
poetry install --extras "hdt postgres hbase"
Enter poetry env:
poetry shell
Get the persondata.hdt file and test_config.yaml and move them to tests/data/
Run server:
sage tests/data/test_config.yaml -w 4 -p 8000
==== FIX "AttributeError : can't set attribute"
https://github.com/RDFLib/rdflib/issues/1204
my version (in poetry shell):
> pip list | grep pyparsing
pyparsing 3.0.6
attempt fix (in poetry shell):
> pip install pyparsing==2.4.7
--- TODO
Co server
button click 'next'
récupérer les infos
bindings : resultat / triple de la req
hasNext : bool
next : string protobuf encoded
stats : cardinality/
metrics : cost, coverage, progression
et si on decode Next :
réussir à afficher dans un noeux
- le 'o?' courant
- et "numero de tuple courant" / "cardinalité"