added rm database and import csv into init_db.sh

master
Alice 7 years ago
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…
Cancel
Save