added rm database and import csv into init_db.sh

This commit is contained in:
Alice 2018-05-23 18:51:56 +02:00
parent 7564470ea0
commit fcb66bb1a2

View File

@ -1,6 +1,7 @@
#!/bin/bash
touch app/mydatabase.db
rm app/mydatabase.db
mkdir -p app/uploads/cover
chmod 777 app/uploads/
chmod 777 app/uploads/cover
python3 init.py
python3 import_csv.py xpublibrary.csv