Skip to content

Commit 588b569

Browse files
committed
Update nuclear tutorial
1 parent 50a32d8 commit 588b569

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

nuclear/Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
.PHONY: nuclear
33
nuclear:
44
cat nuclear.md | sed -n '/^```python/,/^```/ p' | sed '/^```python/ d' | sed '/^```/ d' > nuclear.py
5-
TERMINUSDB_TEAM=${TERMINUSDB_TEAM} TERMINUSDB_ACCESS_TOKEN=${TERMINUSDB_ACCESS_TOKEN} python nuclear.py
5+
TERMINUSDB_TEAM=${TERMINUSDB_TEAM} TERMINUSDB_ACCESS_TOKEN=${TERMINUSDB_ACCESS_TOKEN} python3 nuclear.py
66

77
.PHONY: enrichment
88
enrichment:
99
cat enrichment.md | sed -n '/^```python/,/^```/ p' | sed '/^```python/ d' | sed '/^```/ d' > enrichment.py
10-
TERMINUSDB_TEAM=${TERMINUSDB_TEAM} TERMINUSDB_ACCESS_TOKEN=${TERMINUSDB_ACCESS_TOKEN} python enrichment.py
10+
TERMINUSDB_TEAM=${TERMINUSDB_TEAM} TERMINUSDB_ACCESS_TOKEN=${TERMINUSDB_ACCESS_TOKEN} python3 enrichment.py
1111

1212

1313
.PHONY: scraping
1414
scraping:
1515
cat scraping.md | sed -n '/^```python/,/^```/ p' | sed '/^```python/ d' | sed '/^```/ d' > scraping.py
16-
TERMINUSDB_TEAM=${TERMINUSDB_TEAM} TERMINUSDB_ACCESS_TOKEN=${TERMINUSDB_ACCESS_TOKEN} python scraping.py
16+
TERMINUSDB_TEAM=${TERMINUSDB_TEAM} TERMINUSDB_ACCESS_TOKEN=${TERMINUSDB_ACCESS_TOKEN} python3 scraping.py

nuclear/README.md

+4-8
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
This is a multipart tutorial which will help to teach you the chops
44
you need to build real world data products.
55

6-
To run the full code for the tutorial, you
6+
To run the full code for the tutorial, you need to follow the instructions below.
77

88
## Getting the Python Client
99

10-
First you should go and see how to get installed with the [Python Client](https://docs.terminusdb.com/v10.0/#/terminusx/start-with-a-client) in our documentation.
10+
First you should go and see how to get installed with the [Python Client](https://terminusdb.com/docs/get-started/install-client/install-python-client) in our documentation.
1111

1212
## Running the Tutorial
1313

@@ -19,15 +19,15 @@ directly using our short script in our `make`-file.
1919
To clone the repository and run it, however, first you'll need a [key from
2020
TerminusX](https://docs.terminusdb.com/v10.0/#/terminusx/get-your-api-key).
2121

22-
You will also need to copy your *team name* into the enviornment variable
22+
You will also need to copy your *team name* into the environment variable
2323

2424
```shell
2525
$ git clone https://github.com/terminusdb/terminusdb-tutorials/
2626
$ cd terminusdb-tutorials/nuclear
2727
$ export TERMINUSDB_TEAM="TerminatorsX"
2828
$ export TERMINUSDB_ACCESS_TOKEN="eyJhbG..."
2929
$ make nuclear
30-
$ make cleaning
30+
$ make enrichment
3131
$ make scraping
3232
```
3333

@@ -42,7 +42,3 @@ $ make scraping
4242
# Scraping Data (Part 3)
4343

4444
[Scraping](./scraping.md)
45-
46-
# Validating Data (Part 4)
47-
48-
... coming soon ...

nuclear/nuclear.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ we'll need...
1212

1313

1414
```python
15-
#!/usr/bin/python3
15+
#!/usr/bin/env python3
1616
from terminusdb_client import WOQLClient
1717
import re
1818
import csv

0 commit comments

Comments
 (0)