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
+68Lines changed: 68 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,74 @@
24
24
25
25
If you have any questions, requests or ideas open an issue or ask us in #python on the [ArkEcosystem Slack](https://ark.io/slack).
26
26
27
+
## Development
28
+
29
+
### Prerequisites
30
+
31
+
- Python >= 3.7
32
+
33
+
### Setup
34
+
35
+
1.**Create a virtual environment**
36
+
37
+
Run the following command to create a virtual environment for the project:
38
+
39
+
```bash
40
+
python -m venv venv
41
+
```
42
+
43
+
2. Activate the virtual environment
44
+
45
+
On macOS/Linux:
46
+
47
+
```bash
48
+
source venv/bin/activate
49
+
```
50
+
51
+
On Windows
52
+
53
+
```bash
54
+
.\venv\Scripts\activate
55
+
```
56
+
57
+
3. Upgrade pip and setuptools
58
+
59
+
Ensure you have the latest versions of pip and setuptools:
60
+
61
+
```bash
62
+
pip install --upgrade pip setuptools
63
+
```
64
+
65
+
4. Install the dependencies
66
+
67
+
Install all necessary dependencies from the requirements.txt file:
68
+
69
+
```bash
70
+
pip install -r requirements.txt
71
+
```
72
+
73
+
5. Install the package in development mode
74
+
75
+
Run the following command to install the package in development mode:
76
+
77
+
```bash
78
+
python setup.py develop
79
+
```
80
+
81
+
6. Run the tests
82
+
83
+
Use pytest to run the tests and ensure everything is working correctly:
84
+
85
+
```bash
86
+
python setup.py test
87
+
```
88
+
89
+
Or directly with pytest:
90
+
91
+
```bash
92
+
pytest
93
+
```
94
+
27
95
## Documentation
28
96
29
97
You can find installation instructions and detailed instructions on how to use this package at the [dedicated documentation site](https://docs.ark.io/sdk/clients/usage.html).
0 commit comments