Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

26 Commits

Folders and files

Repository files navigation

Infra Assignment

Prerequisites

Before you begin, ensure you have met the following requirements:

Getting Started

1. Obtain a GitHub Personal Access Token (PAT)

To access private repositories and perform actions on behalf of your account, you'll need a GitHub Personal Access Token.

  1. Go to your GitHub account settings.
  2. Navigate to Developer settings > Personal access tokens.
  3. Click Generate new token. Use Classic token.
  4. Give your token a descriptive name.
  5. Select the permissions delete:packages, repo, write:packages, read:packages
  6. Click Generate token and copy the token.

2. Login to GitHub

Using your Personal Access Token, log in to GitHub from your terminal:

echo "your_github_pat" | docker login ghcr.io -u your_github_username --password-stdin

3. Run the Project

Clone the repository and navigate to the project directory:

git clone https://github.com/tuky191/happychain-assignment.git
cd happychain-assignment
docker compose build
docker compose up -d

4. Demo

Access Blockscout

http://localhost

Check output of demo container

docker logs demo -f

5. Contracts

Contracts were developed in separate repository

  1. Clone the repo git clone https://github.com/tuky191/happychain-contracts
  2. Install dependencies npm install
  3. Run tests npx hardhat test

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages