Merge branch 'master' of github.com:Akilan1999/p2p-rendering-computation into plugin-auto

This commit is contained in:
2021-10-24 23:36:32 +04:00
15 changed files with 341 additions and 11 deletions

View File

@@ -32,7 +32,14 @@ into a single binary
make install
```
### Add appropriate paths to .bashrc
#### 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
export PATH=/<PATH>/p2p-rendering-computation:${PATH}
@@ -178,7 +185,15 @@ p2prc --gen <project name> --mod <go module name>
```
[read more about the generate module](GenerateImplementation.md)
### Pulling plugin from a remote repo
```
p2prc --pp <repo link>
```
### Deleting plugin from the plugin directory
```
p2prc --rp <plugin name>
```
<br>

View File

@@ -144,3 +144,12 @@ After the port is automatically it's ready to run !
### Sample plugins implemented:
- [VSCode Plugin](https://github.com/Akilan1999/p2prc-vscode-browser)
## Pull Plugins
The following allows us to pull plugins from a remote git repository and store them
in the default plugins directory. The implementation uses a Go git library to pull the
git repo and automatically save it as a folder in the plugin path.
## Delete Plugins
We delete the plugin folder based on the plugin name provided as an argument on the cli command.
Once the folder is deleted, the plugin manager automatically knows that the plugin does not exist anymore.