-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
Description
Description
Graph Node Dev Mode will make local subgraph development way easier. This mode will let devs iterate fast by watching file changes and auto-redeploying subgraphs no more messing around with IPFS or PostgreSQL config.
Goal
Let developers develop and deploy subgraphs locally with:
- No IPFS dependency
- No manual PostgreSQL setup ( Still need to install postgres )
- Super minimal configuration
Current Scope
- Add
--watch
flag to gnd - When used:
- Watches the build/ directory for any chanes
- Auto redeploys the subgraph to local graph-node whenever files change
- Shows the subgraph and GraphiQL URLs for immediate testing
- Subgraphs deploy straight from filesystem (no IPFS)
- Rebuilds still require manual triggering via
gnd build
- Use pg_temp to:
- Make a temporary Postgres instance inside build folder
- Eliminate user database configuration
Tasks
- Create seperate graphnode-dev binaryRefactor existing main function for reuse in new binaryMake filesystem-based IPFS link resolver for subgraph deploymentAdd file watching code to trigger redeploys when files changeAdd logic to kill/restart node cleanly when files updatePlug in pg_temp to auto provision temporary databasesSupport for GraftingSupport for subgraph composition locallyImplement build pipeline to build the new binaryGraph CLI to install this binaryBuild filesystem-based IPFS client (for file data sources)To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
This will significantly improve the local development experience by removing configuration barriers.
Are you aware of any blockers that must be resolved before implementing this feature? If so, which? Link to any relevant GitHub issues.
No response
Some information to help us out
- Tick this box if you plan on implementing this feature yourself.I have searched the issue tracker to make sure this issue is not a duplicate.To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity