Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1016 Bytes

README.md

File metadata and controls

41 lines (26 loc) · 1016 Bytes

WebContract

This is a Next.js project bootstrapped with create-next-app.

Setting up your local environment

The app needs you to provide some secrets as a local .env.local file.

You'll need an etherscan API key, which you can get from here

Set it up as follows

NEXT_PUBLIC_ETHERSCAN_API_KEY=<< enter the key here >>

Install the requirements from the package.json file with

npm install 

Run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Setting up the Docker image

Docker image dependencies are defined in the Dockerfile Dependencies and trigger is defined in docker-compose.yaml file

To build the image, run

./build.sh

This will create the base image and start the container for you