Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fthuin/kvstore
https://github.com/fthuin/kvstore
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/fthuin/kvstore
- Owner: fthuin
- License: mit
- Created: 2016-05-06T13:19:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-05-24T20:36:10.000Z (over 8 years ago)
- Last Synced: 2023-02-27T19:47:52.743Z (almost 2 years ago)
- Language: Erlang
- Size: 4.25 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A biker race project in erlang using Riak
This project compiles and runs with the release of erlang named "Erlang R16B03"
and the version of riak named "Riak 2.1.4".Here are the commands to type to compile and join the nodes from a terminal:
```bash
make
make devrel
for d in dev/dev*; do $d/bin/kvstore start; done
for d in dev/dev*; do $d/bin/kvstore ping; done
./dev/dev2/bin/kvstore-admin join [email protected]
./dev/dev3/bin/kvstore-admin join [email protected]
...etc
```In different terminals:
```bash
./dev/dev1/bin/kvstore attach
``````bash
./dev/dev2/bin/kvstore attach
``````bash
...etc
```In each attached console:
```erlang
biker:start_race(UniquePid, NumberOfPlayers).
```after that, you can follow the instruction for input that will be shown.
This project was graded 20/20.