Skip to main content
Makenot
.
work
Discover
Use Cases
Docs
Fan+
Login
Join
max
/
makenotwork
main
tag: launch-2026-06-01
tag: magicmirror-v0.1.1
tag: magicmirror-v0.3.0
tag: mnw-cli-v0.1.2
tag: mnw-cli-v0.1.3
tag: mnw-cli-v0.1.4
tag: pom-v0.4.1
tag: pom-v0.4.2
tag: pom-v0.4.3
tag: pom-v0.4.4
tag: pom-v0.4.5
tag: wam-v0.3.0
tag: wam-v0.3.1
Files
Commits
Tags
Notes
Issues
makenotwork
/
server
/
seed_demo.sh
214 B · 13 lines
History
Blame
Raw
1
#
!/bin/bash
2
#
Seed demo data into the database
3
#
Usage: ./seed_demo.sh
4
5
cd
"
$
(
dirname
"
$
0
"
)
"
6
7
#
Load .env file
8
if
[
-
f
.env
]
;
then
9
export
$(grep
-v
'
^#
'
.env
|
xargs
)
10
fi
11
12
psql
"
$
DATABASE_URL
"
-
f
seed_demo.sql
13