web
is the front-end project built in reactjs that connects to the HollaEx Kit server
which is accessible in the server
folder./web
folder in HollaEx Kit is a ReactJS project that contains all the front-end code. To run it locally in development mode, you need to run: npm start
which installs all the dependencies and start the browser on http://localhost:3000
. Changes are applied and updated live to the site./web/src/config/index.js
DEVELOPMENT_ENDPOINT
to your custom HollaEx Kit server API.cd server/
mv tools/hollaex-kit.env.local.example tools/hollaex-kit.env.local
docker-compose up
docker ps
and there should be 4 containers for nginx
redis
postgresql
and the kit server
docker exec -it server_hollaex-kit-server_1 /bin/bash
sequelize db:migrate
export API_KEY=<your key> API_SECRET=<your secret> ACTIVATION_CODE=<your activation code>
sequelize db:seed:all
node tools/dbs/runTriggers.js
node tools/dbs/setActivationCode.js
NETWORK=testnet
which would connect your HollaEx Kit to the Testnet HollaEx Network. If you want to change that you can set NETWORK_URL
to your custom HollaEx Network endpoint./server/plugins
folder. In order to setup a development environment for developing a plugin you need to follow the following:cd /plugins
docker exec -it server_hollaex-kit-server_1 /bin/bash
node plugins/dev.js