PeerTube/scripts/danger/clean/prod.sh

8 lines
197 B
Bash
Raw Normal View History

2016-10-13 14:45:23 -05:00
#!/bin/bash
read -p "This will remove all directories and Mongo database. Are you sure? " -n 1 -r
if [[ "$REPLY" =~ ^[Yy]$ ]]; then
NODE_ENV=production node "./scripts/danger/clean/cleaner"
fi