- Update the versions in
project.gcl:@library("std", REQUIRED_VERSION);@library("explorer", REQUIRED_VERSION);
- Update the version of
@greycat/webinpackage.json:"@greycat/web": "https://get.greycat.io/files/sdk/web/<BRANCH>/<MAJOR.MINOR>/<MAJOR.MINOR.PATCH-BRANCH>.tgz"
To find the latest versions of the libraries go to get.greycat.io
Make sure you've read the section "After cloning" before this step
greycat install
greycat codegen
pnpm installWe are using
pnpm, but any Package Manager would work here (eg.npm,yarn, etc.)
Start GreyCat in one terminal:
greycat serve --user=1and Vite.js dev server in another:
pnpm devThe option
--user=1we passed togreycatis to bypass authentication in dev. With this option all requests made to GreyCat will be impersonated to be the "root" user.
pnpm build