Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/open-peer-network/open-peer-network
P2P decentralized application platform. https://sites.google.com/view/open-peer-network/home
https://github.com/open-peer-network/open-peer-network
Last synced: 4 months ago
JSON representation
P2P decentralized application platform. https://sites.google.com/view/open-peer-network/home
- Host: GitHub
- URL: https://github.com/open-peer-network/open-peer-network
- Owner: open-peer-network
- Created: 2019-10-15T00:59:58.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T00:47:07.000Z (almost 2 years ago)
- Last Synced: 2024-06-22T08:35:14.662Z (6 months ago)
- Language: Elixir
- Homepage:
- Size: 3.4 MB
- Stars: 6
- Watchers: 8
- Forks: 5
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Open Peer Network
## Security Resources For Developers
- https://smallstep.com/cli/
- https://github.com/OWASP/CheatSheetSeries/blob/master/Index.md## Setup
1) Setup and launch your Cayley database
2) Setup and launch your Phoenix server
3) Setup and launch your React frontend### Setup and Launch Cayley Database
1) Build the Cayley DB from source:
* `git clone https://github.com/cayleygraph/cayley`
* `cd cayley`
* `git checkout -b v0.8.x-dev_opn 862dca511c07c883fa1553dbc7ef1f97fa2904ec`
* `go mod download`
* `go get -u github.com/gobuffalo/packr/v2/packr2`
* `packr2` (If you can't find `packr2` in your path, try `~/go/bin/packr2`)
* `go build ./cmd/cayley`
1) Make sure `cayley` is available from your path. You can use `which cayley` to check.
* If it's not, move they cayley folder to your home directory and symlink to it from `/usr/local/bin`.
1) Back in the current project directory, copy `cayley.yml.example` -> `cayley.yml`
1) Run `cayley init`### Setup and Launch Phoenix Server
Assuming you have both Elixir and Mix properly installed...
1) Move into the project directory using `cd`
1) Run `mix deps.get` to install the Elixir dependencies
1) Run `iex -S mix phx.server` to start the Elixir server### Setup and Launch React Frontend
The project includes a React-based frontend.
1) `cd app/`
1) Copy `app/.env.example` -> `app/.env` and update the file with your test user credentials
1) Move into the `app/` directory: `cd app/`
1) Run `npm install` or `yarn install` if you have yarn (yarn is better)
1) Run `npm start`