This example demonstrates how to run the entire Cosmo platform locally with Docker Compose.
- make
- Docker
- Docker Compose (version 2+ only)
- NPM (for the Cosmo CLI)
Warning
Please give Docker Desktop enough resources (CPU, Memory) to run the platform. We recommend at least 4 CPUs and 8GB of memory.
- Start the platform:
./start.sh
- Navigate to the Studio Playground and login before with the default credentials:
Username: foo@wundergraph.com
Password: wunder@123
Finally 🚀, run the query in the Playground:
query MyEmployees {
employees {
details {
forename
}
currentMood
derivedMood
isAvailable
notes
products
}
}
After you are done, you can clean up the demo by running ./destroy.sh
.