mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-29 03:53:14 +03:00
7 lines
374 B
Bash
7 lines
374 B
Bash
|
#! /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'"
|