added rm database and import csv into init_db.sh
parent
7564470ea0
commit
fcb66bb1a2
@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
touch app/mydatabase.db
|
rm app/mydatabase.db
|
||||||
mkdir -p app/uploads/cover
|
mkdir -p app/uploads/cover
|
||||||
chmod 777 app/uploads/
|
chmod 777 app/uploads/
|
||||||
chmod 777 app/uploads/cover
|
chmod 777 app/uploads/cover
|
||||||
python3 init.py
|
python3 init.py
|
||||||
|
python3 import_csv.py xpublibrary.csv
|
||||||
|
Loading…
Reference in New Issue