]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - scripts/danger/clean/server.sh
Update to Angular RC 1
[github/Chocobozzz/PeerTube.git] / scripts / danger / clean / server.sh
1 #!/usr/bin/env sh
2
3 read -p "This will remove certs, uploads, database (dev) and logs. Are you sure? " -n 1 -r
4
5 if [[ "$REPLY" =~ ^[Yy]$ ]]; then
6 rm -rf ./certs ./logs ./uploads
7 printf "use peertube-dev;\ndb.dropDatabase();" | mongo
8 fi