Added automated install for windows
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -18,3 +18,5 @@ client/trackcontainers/
|
||||
# Test generated files
|
||||
generate/p2prctest
|
||||
generate/Test
|
||||
#ignore windows exe files
|
||||
*.exe
|
||||
@@ -32,6 +32,13 @@ into a single binary
|
||||
make install
|
||||
```
|
||||
|
||||
#### For Windows
|
||||
To set up P2PRC on Windows, simply run this batch file.
|
||||
**Make sure you are not in admin mode when running this.**
|
||||
```
|
||||
.\install.bat
|
||||
```
|
||||
|
||||
### Add appropriate paths to .bashrc
|
||||
```
|
||||
export P2PRC=/<PATH>/p2p-rendering-computation
|
||||
|
||||
6
install.bat
Normal file
6
install.bat
Normal file
@@ -0,0 +1,6 @@
|
||||
go build -o p2prc.exe
|
||||
|
||||
setx PATH "%PATH%;%cd%"
|
||||
setx P2PRC "%cd%"
|
||||
|
||||
p2prc --dc
|
||||
Reference in New Issue
Block a user