mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-27 19:14:52 +03:00
7 lines
374 B
Bash
Executable File
7 lines
374 B
Bash
Executable File
#! /bin/bash
|
|
|
|
set -e
|
|
|
|
docker run --name wasp_db_pg-vector-example -d --rm --publish 5432:5432 -v pg-vector-example:/var/lib/postgresql/data --env POSTGRES_PASSWORD=devpass ankane/pgvector
|
|
echo "Make sure to execute the following command before running the example:"
|
|
echo "docker exec -it wasp_db_pg-vector-example psql -U postgres -c 'CREATE EXTENSION IF NOT EXISTS vector'" |