Skip to content

Commit

Permalink
removed sample line
Browse files Browse the repository at this point in the history
  • Loading branch information
zba authored Nov 7, 2024
1 parent 2854c69 commit 04b8ceb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit 04b8ceb

Please sign in to comment.