Files
EmpireProject-EmPyre/setup/reset.sh
T
2016-02-29 13:37:27 -05:00

23 lines
302 B
Bash
Executable File

#!/bin/bash
IFS='/' read -a array <<< pwd
if [[ "$(pwd)" != *setup ]]
then
cd ./setup
fi
# reset the database
rm ../data/empyre.db
./setup_database.py
cd ..
# remove the debug file if it exists
rm empyre.debug
# remove the download folders
rm -rf ./downloads/
# start up EmPyre
./empyre --debug