Need help running Wasp app
Hello everyone,
I am looking for some help with running my app locally.
I created a trial app using https://usemage.ai/ but after following the instructions to install and get the app running I am getting the following error(s):
--- [Error] Can not connect to database: --------------------------------------- The database needs to be running in order to execute this command. You can easily start a managed dev database with
When I ran "wasp start db", I got another error --- [Error] Couldn't find
wasp start db
.When I ran "wasp start db", I got another error --- [Error] Couldn't find
docker
executable: --------------------------------- To run PostgreSQL dev database, Wasp needs docker
installed and in PATH.
From what I understand, Wasp needs Docker with Postgresql to run. Can someone guide me to how to do it exactly in reference to Wasp.
Also, I feel this part is not clearly documented in the Wasp Documentation.
Looking forward to your answers guys!4 Replies
just download docker https://www.docker.com/products/docker-desktop/
Moby Dock
Docker
Docker Desktop: The #1 Containerization Tool for Developers | Docker
Docker Desktop is collaborative containerization software for developers. Get started and download Docker Desktop today on Mac, Windows, or Linux.
Wohooo @kvares, you just became a Waspeteer level 1!
And after its downloaded open a new terminal and
ah you need to start docker application aswell
Hey @lordskyfire_sama ! As @kvares said, you need to install
docker
and that is it.
Do you have any suggestions where to additionally document it?
CUrrently we have:
1. That message that you got, that tells yo uto install docker
.
2. This piece of docs, which says docker
is needed: https://wasp-lang.dev/docs/data-model/backends#using-the-dev-database-provided-by-wasp .Databases | Wasp
Entities, Operations and Automatic CRUD together make a high-level interface for working with your app's data. Still, all that data has to live somewhere, so let's see how Wasp deals with databases.