Setting up

Prerequisites:

  • Created an account on GitLab via invite

  • Code editor installed

  • docker-compose installed

  1. In the influence-hub terminal:

    git checkout develop
    
  2. In the main influence-hub folder create .env.local file and put in there:

    PORT=8080
    NETWORK=testnet
    JAWSDB_URL=mysql://admin:admin@snapshot-mysql:3306/snapshot
    RELAYER_PK=0xBa731A6E48bF1d83564E645E5eB0E6cD85e6732f
    FLEEK_API_KEY=123...
    FLEEK_API_SECRET=123...
    PINATA_API_KEY=cf5ad6ffde650136fb0f
    PINATA_SECRET_API_KEY=775d87f2e96415e28edb54d5c064cae9c1b4ddfbd53e606b361a9af524b19002
    DISCORD_TOKEN=123...
    SPACECS_FILE_LOCATION=/home/node/app/server/helpers/spaces/spaces.json
    PINATA_API_KEY1=f94dfa3dcadda8d1eedf
    PINATA_SECRET_API_KEY1=18ad37a95aa07a15a1b7f5de8e9307bfb2beecc86659811a318596bce9f06c44
    RATE_LIMITER_TIMEOUT=3
    RATE_LIMITER_REQUESTS=12
    
  3. Run application:

    docker-compose up
    
  4. In the Influence terminal:

    git checkout develop
    
  5. Install dependencies:

    npm install
    
  6. In the main Influence folder create .env.local file and put in there:

    REACT_APP_MAINNET_PROVIDER_URL='https://mainnet.infura.io/v3/091a03fbd2eb499c800e06ef085fb1d2'
    REACT_APP_ROPSTEN_PROVIDER_URL='https://eth-ropsten.alchemyapi.io/v2/wbsH-Ihl4guFWnM4klEJxh5r64KRp3LV'
    REACT_APP_BSC_PROVIDER_URL='https://bsc-dataseed.binance.org/'
    REACT_APP_LOCAL_PROVIDER_URL='ws://localhost:8545'
    ESLINT_NO_DEV_ERRORS=true
    
  7. Run application:

    npm start
    

Warning

This may take up to several minutes.