Skip to content

Instantly share code, notes, and snippets.

@mberman84
Created October 4, 2023 16:53
Show Gist options
  • Save mberman84/9d4aedea777f540d3c537cfa78a2877a to your computer and use it in GitHub Desktop.
Save mberman84/9d4aedea777f540d3c537cfa78a2877a to your computer and use it in GitHub Desktop.
MageGPT Installation
# once you have an app created and downloaded:
curl -sSL https://get.wasp-lang.dev/installer.sh | sh
cd {app_folder}
# to install NVM:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
nvm install 18
nvm use 18
wasp db migrate-dev
wasp start
@rajivsingha
Copy link

Hi there,

It doesn't the part about needing Docker to run the DB. PostgreSQL that is. Do you think you can add the instructions to your gist for that?

I get the error when

--- [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 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment