- 
                Notifications
    You must be signed in to change notification settings 
- Fork 106
Build From Source With Yarn
        Lincon Vidal edited this page Jul 29, 2024 
        ·
        1 revision
      
    The project is composed of multiple packages, and uses Yarn Workspaces to centrally manage development dependencies via an offline cache.
git clone --branch {VERSION_TAG} https://github.com/cardano-foundation/cardano-graphql.git
cd cardano-graphql
yarn --offline --frozen-lockfile && yarn buildHASURA_URI=http://localhost:8090 \\
GENESIS_FILE_BYRON=./config/network/mainnet/genesis/byron.json \\
GENESIS_FILE_SHELLEY=./config/network/mainnet/genesis/shelley.json \\
POSTGRES_DB=cexplorer \\
POSTGRES_HOST=localhost \\
POSTGRES_PASSWORD=somePassword \\
POSTGRES_PORT=5432 \\
POSTGRES_USER=someUsername \\
node ./packages/server/dist/index.js