From 04b8ceb47446f69510f66d62d7c83306a1aae3b5 Mon Sep 17 00:00:00 2001 From: Alexey Date: Fri, 8 Nov 2024 04:10:58 +0700 Subject: [PATCH] removed sample line --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 92dc9e3..948bdb8 100644 --- a/README.md +++ b/README.md @@ -32,9 +32,9 @@ docker compose stop netbox # Drop & recreate the database docker compose exec postgres sh -c 'psql -U $POSTGRES_USER postgres -c "DROP DATABASE netbox;"' docker compose exec postgres sh -c 'psql -U $POSTGRES_USER postgres -c "CREATE DATABASE netbox;"' -https://github.com/netbox-community/netbox-demo-data/raw/refs/heads/master/sql/netbox-demo-v4.1.sql + # Load the demo data, change VERSION if need -(VERSION=v4.1; curl https://github.com/netbox-community/netbox-demo-data/raw/refs/heads/master/sql/netbox-demo-$VERSION.sql | docker compose exec -T postgres bash -c "psql -U $POSTGRES_USER netbox") +(VERSION=v4.1; curl https://github.com/netbox-community/netbox-demo-data/raw/refs/heads/master/sql/netbox-demo-$VERSION.sql | docker compose exec -T postgres psql -U $POSTGRES_USER netbox) # run netbox, wait migrations done docker compose up netbox ```