wnm 0.0.6__tar.gz → 0.0.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of wnm might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wnm
3
- Version: 0.0.6
3
+ Version: 0.0.8
4
4
  Summary: Manager for Autonomi nodes
5
5
  Author-email: Troy Johnson <troy@weave.sh>
6
6
  License: GPL-3.0
@@ -39,24 +39,40 @@ Weave Node Manager (wnm) is a Python application designed to manage nodes for de
39
39
  - Support for configuration via YAML, JSON, or command-line parameters.
40
40
 
41
41
  ## Installation
42
- 1. Clone the repository:
42
+ 1. Create a directory to hold data:
43
43
  ```
44
- git clone https://github.com/iweave/weave-node-manager.git
44
+ mkdir /home/ubuntu/wnm
45
45
  ```
46
46
  2. Navigate to the project directory:
47
47
  ```
48
- cd weave-node-manager
49
- 3. Create a virtual environment
48
+ cd /home/ubuntu/wnm
49
+ 3. Install the required dependencies:
50
+ ```
51
+ sudo apt install -y python3.12-venv python3-dotenv
52
+ ```
53
+ 4. Create a virtual environment
50
54
  ```
51
55
  python3 -m venv .venv
52
56
  ```
53
- 4. Activate the virtual environment
57
+ 5. Activate the virtual environment
54
58
  ```
55
59
  . .venv/bin/activate
56
60
  ```
57
- 5. Install the required dependencies:
61
+ 6. Install the package:
62
+ ```
63
+ pip install wnm
64
+ ```
65
+ 7. Run to initialize environment from anm
66
+ ```
67
+ wnm
68
+ ```
69
+ 8. Add to cron to run every minute
58
70
  ```
59
- pip install -r requirements.txt
71
+ echo <<EOF
72
+ SHELL=/bin/bash
73
+ PATH=/home/ubuntu/.local/bin:/home/ubuntu/wnm/,venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
74
+ */1 * * * * ubuntu cd /home/ubuntu/wnm && wnm > /home/ubuntu/wnm/cron.out 2>&1
75
+ EOF
60
76
  ```
61
77
 
62
78
  ## Configuration
@@ -9,24 +9,40 @@ Weave Node Manager (wnm) is a Python application designed to manage nodes for de
9
9
  - Support for configuration via YAML, JSON, or command-line parameters.
10
10
 
11
11
  ## Installation
12
- 1. Clone the repository:
12
+ 1. Create a directory to hold data:
13
13
  ```
14
- git clone https://github.com/iweave/weave-node-manager.git
14
+ mkdir /home/ubuntu/wnm
15
15
  ```
16
16
  2. Navigate to the project directory:
17
17
  ```
18
- cd weave-node-manager
19
- 3. Create a virtual environment
18
+ cd /home/ubuntu/wnm
19
+ 3. Install the required dependencies:
20
+ ```
21
+ sudo apt install -y python3.12-venv python3-dotenv
22
+ ```
23
+ 4. Create a virtual environment
20
24
  ```
21
25
  python3 -m venv .venv
22
26
  ```
23
- 4. Activate the virtual environment
27
+ 5. Activate the virtual environment
24
28
  ```
25
29
  . .venv/bin/activate
26
30
  ```
27
- 5. Install the required dependencies:
31
+ 6. Install the package:
32
+ ```
33
+ pip install wnm
34
+ ```
35
+ 7. Run to initialize environment from anm
36
+ ```
37
+ wnm
38
+ ```
39
+ 8. Add to cron to run every minute
28
40
  ```
29
- pip install -r requirements.txt
41
+ echo <<EOF
42
+ SHELL=/bin/bash
43
+ PATH=/home/ubuntu/.local/bin:/home/ubuntu/wnm/,venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
44
+ */1 * * * * ubuntu cd /home/ubuntu/wnm && wnm > /home/ubuntu/wnm/cron.out 2>&1
45
+ EOF
30
46
  ```
31
47
 
32
48
  ## Configuration
@@ -1,3 +1,3 @@
1
1
  """A service to manage a cluster of decentralized Autonomi nodes"""
2
2
 
3
- __version__ = "0.0.6"
3
+ __version__ = "0.0.8"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wnm
3
- Version: 0.0.6
3
+ Version: 0.0.8
4
4
  Summary: Manager for Autonomi nodes
5
5
  Author-email: Troy Johnson <troy@weave.sh>
6
6
  License: GPL-3.0
@@ -39,24 +39,40 @@ Weave Node Manager (wnm) is a Python application designed to manage nodes for de
39
39
  - Support for configuration via YAML, JSON, or command-line parameters.
40
40
 
41
41
  ## Installation
42
- 1. Clone the repository:
42
+ 1. Create a directory to hold data:
43
43
  ```
44
- git clone https://github.com/iweave/weave-node-manager.git
44
+ mkdir /home/ubuntu/wnm
45
45
  ```
46
46
  2. Navigate to the project directory:
47
47
  ```
48
- cd weave-node-manager
49
- 3. Create a virtual environment
48
+ cd /home/ubuntu/wnm
49
+ 3. Install the required dependencies:
50
+ ```
51
+ sudo apt install -y python3.12-venv python3-dotenv
52
+ ```
53
+ 4. Create a virtual environment
50
54
  ```
51
55
  python3 -m venv .venv
52
56
  ```
53
- 4. Activate the virtual environment
57
+ 5. Activate the virtual environment
54
58
  ```
55
59
  . .venv/bin/activate
56
60
  ```
57
- 5. Install the required dependencies:
61
+ 6. Install the package:
62
+ ```
63
+ pip install wnm
64
+ ```
65
+ 7. Run to initialize environment from anm
66
+ ```
67
+ wnm
68
+ ```
69
+ 8. Add to cron to run every minute
58
70
  ```
59
- pip install -r requirements.txt
71
+ echo <<EOF
72
+ SHELL=/bin/bash
73
+ PATH=/home/ubuntu/.local/bin:/home/ubuntu/wnm/,venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
74
+ */1 * * * * ubuntu cd /home/ubuntu/wnm && wnm > /home/ubuntu/wnm/cron.out 2>&1
75
+ EOF
60
76
  ```
61
77
 
62
78
  ## Configuration
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes