xppl/init_db.sh

8 lines
165 B
Bash

#!/bin/bash
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