Via .gitpod.yml
- intall packages:
edgedb
,@edgedb/generate
,typescript
- install
edgedb CLI
- init edgedb project
- modify default schema
- run migrations
Always fresh database When your gitpod workspace restarts, objects created in your edgedb database will be deleted. (file changes are preserved for 14 days)
Publish to git To save your playground changes and share for troubleshooting
- schema
dbschema/default.esdl
- query builder code
src/index.ts
npm run migrate
- helper to create/apply migrations and run generatorsnpm run query
- to execute your queries transpiles ts to js, then runs node on 'dist/src/'npm run ui
- returns edgedb ui link in terminal