aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/purge-except-git.sh
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-02-06 16:48:13 -0800
committerAdam Soltys <[email protected]>2023-02-06 16:48:13 -0800
commit9c667055c6367e1b2e239686e72f52995679a47e (patch)
tree0b1d4aee51ec2d4e92d08a9d1404ba4e2ecd462a /scripts/purge-except-git.sh
parent15294844dbc8e73b4d1e92008a7eebc6b86b9ec5 (diff)
parent6f5602d112b68adb7452abf3047f20c32e7725b6 (diff)
downloadcoinos-server-9c667055c6367e1b2e239686e72f52995679a47e.tar.gz
coinos-server-9c667055c6367e1b2e239686e72f52995679a47e.zip
Merge branch 'master' into test
Diffstat (limited to 'scripts/purge-except-git.sh')
-rwxr-xr-xscripts/purge-except-git.sh31
1 files changed, 0 insertions, 31 deletions
diff --git a/scripts/purge-except-git.sh b/scripts/purge-except-git.sh
deleted file mode 100755
index 066b082f..00000000
--- a/scripts/purge-except-git.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/bash
-# purge coinos-ui and coinos-server
-# ie- fresh install/clean working dirs but without the clone -
-# useful for local dev when you have stashed changes or branches
-# you don't want to destroy
-
-# start script from coinos-server/scripts ie:
-# $ cd /var/node/coinos-server/scripts
-# $ ./purge-except-git.sh
-
-# you may have to run it with sudo to remove the directories created by docker
-
-# and now the script will move up a dir and do its thing:
-cd ../
-
-# if you have docker-compose process running
-docker-compose down
-
-#purge:
-rm -rf config
-rm -rf mysql
-rm -rf node_modules
-rm .env
-rm fx
-rm docker-compose.override.yml
-
-#also on ui:
-cd ../coinos-ui
-rm -rf node_modules
-
-# (and then follow instructions in root README to rebuild/install)