Run Dev Mode
git clone https://github.com/hollaex/hollaex-kit.git
- HollaEx Kit
/webis the front-end project built in ReactJS that connects to the HollaEx Kit
serverwhich is accessible in the
/webfolder 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 startwhich installs all the dependencies and starts the browser on
Changes are applied and updated live on the site.
You can change this value in
DEVELOPMENT_ENDPOINTto your custom HollaEx Kit server API.
In order to start the server in dev mode you need to run the following:
- 2.make an env
mv tools/hollaex-kit.env.local.example tools/hollaex-kit.env.local
- 4.Once docker is all set check
docker psand there should be 4 containers for
postgresqland the kit
- 5.Go inside the Docker container, by running
docker exec -it server_hollaex-kit-server_1 /bin/bash
- 6.Once you are successfully inside the docker container you should run the following commands:
- Run database migrations:
- (the following is an example of an exchange called
hiwwon HollaEx Network Testnet)
export API_KEY=<your key> API_SECRET=<your secret> ACTIVATION_CODE=<your activation code>
- Run database seed:
- Run database triggers:
- Run activation to activate the exchange:
Once you have completed all the above, and either come out of dev mode or rebooted your machine, fortunatley to get back in to dev mode the only command to run is
docker-compose up. Easy peasy.
A good way to quickly see the live code updates of dev mode, is by opening
localhost/v2/healthin your browser. Make a mental note of the version that is displayed. Then will dev mode is active, go into your IDE and alter the file found at
By changing the version to any string on line 13, saving and then refreshing your browser, you will see that the version disaplyed on the health page will have changed to whatever you wrote. Remember to put it back to
packageJson.versionthough to make sure its up to date!