How to install genlayerlabs/genlayer-project-boilerplate. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.
genlayerlabs/genlayer-project-boilerplate Installation Guide
How to install genlayerlabs/genlayer-project-boilerplate. Official project installation instructions and setup guide.
⚡
Automated Install (Recommended)
Quick installation instructions for genlayerlabs/genlayer-project-boilerplate. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i genlayerlabs/genlayer-project-boilerplateor
Install via npx
npx @hexmos/ipm i genlayerlabs/genlayer-project-boilerplatePrerequisites
Python
languageVersion: >=3.12
Node.js
languageVersion: >=18
GenLayer CLI
toolVersion: latest
GenLayer Studio
toolVersion: latest
Manual Installation Methods
Manual installation instructions. How to install from GitHub source.
Source Installation
git clone https://github.com/genlayerlabs/genlayer-project-boilerplate.git
cd genlayer-project-boilerplate
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
npm install -g genlayer
cd frontend
cp .env.example .env
npm installPost Installation Steps
- Set your deployed contract address in frontend/.env as NEXT_PUBLIC_CONTRACT_ADDRESS
- Run 'genvm-lint check contracts/football_bets.py' to lint contracts
- Run 'pytest tests/direct/' for direct mode tests
- Choose your network with 'genlayer network'
- Deploy with 'genlayer deploy'
- Run integration tests with 'gltest tests/integration/'
- Run the frontend development server with 'npm run dev' in the 'frontend' directory
