Based on javascript-pong
- NodeJS
Use the command below:
git clone https://github.com/MLH/pong-game-horizen.git
This workshop has a setup script called setup.sh
.
In order to be run it needs to be executable. You need to give it permission to run on your machine by using the command:
chmod +x setup.sh
It can then be run with the command:
./setup.sh
To quickly set up environment variables, make a copy of the .env.example
and rename it to .env
. Then make sure to modify it following the instructions below.
A seed phrase, seed recovery phrase or backup seed phrase is a list of words which store all the information needed to recover a wallet. Provide your seed phrase like the example bellow:
ZEN_PONG_WALLET_SEED="specify limited specify limited specify limited specify limited specify limited specify limited specify limited specify limited specify limited specify limited specify limited specify limited"
To run the application, you only need to execute the start script.
yarn start
Your app will be running on http://localhost:8000
Make sure to create a .env
file and configure your ZEN_PONG_WALLET_SEED
.