You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -34,20 +34,6 @@ source .venv/bin/activate
34
34
pip install -r requirements.txt
35
35
```
36
36
37
-
## Development
38
-
39
-
Install dev-dependencies
40
-
41
-
```
42
-
pip install -r requirements-dev.txt
43
-
```
44
-
45
-
Install pre-commit hooks.
46
-
47
-
```
48
-
pre-commit install
49
-
```
50
-
51
37
## Setup
52
38
53
39
- set the environment variable `NOTION_KEY` with your notion api key that has read access to some pages (see [notion docs]("https://developers.notion.com/docs/create-a-notion-integration")).
@@ -63,3 +49,17 @@ python graph.py
63
49
This will automatically discover any page shared with your notion integration. Subsequently it will create a task queue to query every discovered page. The initial parse of your document might take a while as notions api is limited to three requests per second. You will notice that the programm will create a new folder `data/` which contains the parsed pages and links. Subsequent parses will only refresh pages that have be edited since the last parse.
64
50
65
51
The graph view will be served on `localhost:8080`. Make sure to hit refresh when the parsing is done.
0 commit comments