Menu

[r10367]: / branches / dojo17 / gui / mkdb.sh  Maximize  Restore  History

Download this file

13 lines (8 with data), 169 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#!/bin/sh
# quick script to make the database.
dir=$(dirname $0)
db=${1-/data/freenas-v1.db}
if [ -f ${db} ]; then
rm ${db}
fi
python manage.py syncdb --migrate
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.