morsel/reset_credentials.sh

8 lines
175 B
Bash
Executable File

rm boards/*
touch boards/.dontdeleteme
rm *.json
echo '{"boards":[]}' > boards.json
echo '{"users":[]}' > users.json
echo '{}' > follows.json
cat config.json.ex > config.json