Skip to content

Techman34/defizap-frontend

 
 

Repository files navigation

DeFiZap Front End

Development

The following code can be run locally by running the following two commands.

  1. yarn install
  2. yarn start

on the root level of the directory.

Docker

The code can also be run using the Dockerfile. First you must install Docker for your host operating system from the resources at [Docker|https://www.docker.com/].

With docker running you can build an image and run a container from that image:

  1. Using a command line terminal, change into the KyberVirtualHackathon root directory
  2. Run docker-compose up --build (this will build the image based on the dockerFile and then start it as per the instructions provided in the docker-compose.yml)
  3. Once it is up use this command to connect to the shell docker exec -it [TO INSERT DOCKER CONTAINDER ID] /bin/sh -c "[ -e /bin/bash ] && /bin/bash || /bin/sh. Here you will be able to do any NPM install that you may require.
  4. To close use CTRL+C in the terminal in which docker container was initiated

At this point the react server will start and you will be able to access http://localhost:3000 in any browser on your host operating system.

About

This is the front end website of https://DeFiZap.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.3%
  • CSS 2.3%
  • HTML 1.2%
  • Dockerfile 0.2%