Note: you can alternatively run mage
natively with Go with go run mage.go
.
-
Install NodeJS dependencies..
pnpm install
-
Assume an AWS role with permission to create resources.
assume cf-dev
-
Build the
gdeploy
CLI.make gdeploy
-
Deploy the development stack.
mage -v deploy:dev
-
Set up some users in Cognito.
gdeploy identity users create --admin -u [email protected] gdeploy identity users create -u [email protected]
-
Open the web dashboard.
gdeploy dashboard open
To clean up a deployment run:
mage -v destroy
You can deploy to AWS with hot-reloading as follows. Deployments are very fast (currently around 15-30s):
mage -v watch