Skip to content

Commit 8b5e7bb

Browse files
committed
Inicial release
1 parent 2ca9ba8 commit 8b5e7bb

File tree

3 files changed

+91
-1
lines changed

3 files changed

+91
-1
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Changelog
2+
WITSML 1.3.1.x | 1.4.1.x to BSON parser changelogs
3+
4+
## [0.1.0] - 2024-05-24
5+
- Inicial release of WITSML 1.3.1.x | 1.4.1.x to BSON parser ✔️
6+
7+
## [master] - current
8+
9+
[0.1.0]: https://github.com/devfabiosilva/witsml21parser/tree/v0.1.0
10+
[master]: https://github.com/devfabiosilva/witsmlparser/tree/master
11+

README.md

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,81 @@
11
# witsmlparser
22
WITSML 1.4.1.x and 1.3.1.x to BSON parser
3+
4+
# Install requirements
5+
6+
- Make >= 4.3
7+
- GCC >= 7
8+
- Node-gyp for compiling node
9+
- Python >= 3
10+
11+
# Compiling dependencies (compile once)
12+
13+
## Compiling third-party
14+
15+
Compiling Mongo c library
16+
17+
```sh
18+
make -j4 install_bson
19+
```
20+
You need compiling this step once
21+
22+
## Compiling gSoap WITSML C code
23+
24+
```sh
25+
make -j4 pre && make -j4 pre_shared
26+
```
27+
28+
WITSML has many object and compiling this step can take a little longer ~ 40 minutes
29+
30+
You need compiling this step once
31+
32+
# Building libraries
33+
34+
## Build C example code
35+
36+
```sh
37+
make clean && make -j4
38+
```
39+
40+
## Build Python module
41+
42+
```sh
43+
make clean && make -j4 py
44+
```
45+
46+
## Build NodeJS library
47+
48+
```sh
49+
make clean && make -j4 nodejs
50+
```
51+
52+
## Build Java library
53+
54+
```sh
55+
make clean && make -j4 jni
56+
```
57+
58+
# Cleaning
59+
60+
## Cleaning project
61+
62+
```sh
63+
make clean
64+
```
65+
66+
## Removing WITSML pre compiled objects
67+
68+
```sh
69+
make pre_remove
70+
```
71+
72+
## Removing Mongo C BSON library
73+
74+
```sh
75+
make remove_bson
76+
```
77+
78+
# LICENSES
79+
80+
This project is fully open source (MIT) **BUT** it depends on gSoap library that is GPLv2. See [Genivia website](https://www.genivia.com/products.html)
81+

examples/env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if [ -d $search_dir ]; then
66
export PYTHONPATH=$PYTHONPATH:$(readlink -f $search_dir)
77
echo "Python path set to $PYTHONPATH"
88
else
9-
echo "ERROR: Py WITSML 2.1 to BSON parser not found. Compile module with 'make py' and run this environment again"
9+
echo "ERROR: Py WITSML 1.3.x | 1.4.x to BSON parser not found. Compile module with 'make py' and run this environment again"
1010
return 1
1111
fi
1212

0 commit comments

Comments
 (0)