Skip to content

Commit 4e1f79c

Browse files
authored
Update README.md
Update instructions for < 2.8.0
1 parent d314ff0 commit 4e1f79c

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

README.md

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,6 @@ Please click the "Configuration" shortcut in your Start Menu, under the "Algora
6767

6868
> :memo: In the following examples, `service_name` is `algodsvc_` followed by the network the node is connected to. According to this scheme, your service will be named `algodsvc_testnet`, `algodsvc_betanet` or `algodsvc_mainnet`.
6969
70-
All commands requiring data directory specification should be supplied with:
71-
72-
```
73-
%PROGRAMDATA%\Algorand\data\<network>
74-
```
75-
Replace `<network>` with the node you are operating on. For example, on the Command Line Tools you could type:
76-
77-
```
78-
goal account changeonlinestatus -a o=%address% -d %PROGRAMDATA%\Algorand\data\testnet
79-
```
8070

8171
Start the Algorand Service by using the "Services" management console. You can launch the "Run..." panel by pressing Windows + R and executing `services.msc`. Alternatively, you can use the `sc start <service_name>` command in a shell with administrative privileges.
8272

@@ -107,6 +97,26 @@ Open the Event Log by pressing Windows + R and executing `eventvwr`. The service
10797
3008 | Invalid, nonexistent or inaccesible node data directory.
10898
3009 | Pre-flight configuration information.
10999

100+
### Data directory setting for Release before 2.8.0
101+
102+
If you install any release < 2.8.0, all commands requiring data directory specification should be supplied with:
103+
104+
1. ```
105+
%PROGRAMDATA%\Algorand\data\<network>
106+
```
107+
Replace `<network>` with the node you are operating on. For example, on the Command Line Tools you could type:
108+
109+
```
110+
goal account changeonlinestatus -a o=%address% -d %PROGRAMDATA%\Algorand\data\testnet
111+
```
112+
113+
or alternatively,
114+
2. Set `ALGORAND_DATA` environment variable as follows
115+
116+
```
117+
%PROGRAMDATA%\Algorand\data\<network>
118+
```
119+
110120
## Building How-TO
111121

112122
The following information applies to power users and developer that are interested in doing a manual build of the Algorand Service and installer.

0 commit comments

Comments
 (0)