Code Monkey home page Code Monkey logo

validator-identity-crawler's Introduction

validator-identity-crawler

스크린샷 2023-07-17 오후 8 50 21

Features

This project provides the latest profile image link of the validator, and a scheduling task is performed every hour using Ubuntu cron. When the scheduling task runs, it compares the previous profile image link and if there are changes, it commits and pushes them to the public/identity.json file.



Build Instructions

You can proceed with the build in the following order.


Git Credential Setup

As the scheduling task runs, it commits and pushes to Git. To perform these tasks, you need Git login information, so you need to save authentication information.

$ git config credential.helper store

Once you enter your username and password, you won't need to enter it again.


Crontab Instructions

# Edit crontab
$ crontab -e

# Enter the following on a new line
# (Modify the path of the working directory to fit your actual environment)
$ 0 * * * * cd ~/validator-identity-crawler && npm run start >> crawler_reslut.txt

Build Procedure

# Clone repository
$ git clone https://github.com/FirmaChain/validator-identity-crawler.git

# Move to the project folder
$ cd validator-identity-crawler

# Install necessary packages
$ npm install

First Time Running for Git Authentication

An initial run is required to save user authentication information to the ~/.git-credentials file.

# Run the project
$ npm run start

validator-identity-crawler's People

Contributors

thismars avatar

Stargazers

 avatar chill_beer avatar Donghoon Kim avatar  avatar

Watchers

Donghoon Kim avatar  avatar chill_beer avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.