Skip to content

thomasrichner-oviva/berryhunter

 
 

Repository files navigation

Berryhunter

Repo for the most awesome berry-hunting experience.

Running the Project

Mac Environment

(Last updated 30.10.2018)

Known Issues

  • there's a race condition between chieftaind and berryhunterd. If berryhunterd starts before chieftaind is up, it will crash. Solution: Shut down docker-compose (CTRL+C) and run ./up.sh again.

Windows Environment

Prerequisites

To compile Go-libraries

For chieftaind

  • Install go
  • OpenSSL https://wiki.openssl.org/index.php/Binaries (I used "Win64 OpenSSL v1.1.1" from https://slproweb.com/products/Win32OpenSSL.html )
    • Add C:\Program Files\OpenSSL-Win64\bin (or whatever the installation path is) to your PATH variable
  • Install required certificates:
    1. cd chieftaind
    2. server\genkey.bat
    3. The following error message can be safely ignored:
    Can't load ./.rnd into RNG
    6656:error:2406F079:random number generator:RAND_load_file:Cannot open file:crypto\
    rand\randfile.c:88:Filename=./.rnd
    
  • Create conf.json from conf.example.json

For berryhunderd

  • Install go
  • Install git
  • Create conf.json from conf.default.json
  • Create tokens.list from tokens.example.list
  • Switch tag from engo.io/esc to v1.0.1 git checkout tags/v1.0.1

For frontend

  1. Install node.js https://nodejs.org
  2. Install yarn https://yarnpkg.com/

Build everything

  • Run build.bat in project root
  • every project part (chieftaind, berryhunterd, frontend) has it's own build.bat, too. In case you only want to build a specific part.

Run everything

  • Run start.bat in project root
  • every project part (chieftaind, berryhunterd, frontend) has it's own start.bat, too. In case you only want to build a specific part.

:V

About

Project Berryhunter af

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 44.0%
  • TypeScript 43.7%
  • HTML 5.9%
  • Less 4.4%
  • Shell 0.5%
  • Mustache 0.5%
  • Other 1.0%