summaryrefslogtreecommitdiff
path: root/bin/setup
diff options
context:
space:
mode:
authorMax Wu2016-12-11 23:22:17 +0800
committerGitHub2016-12-11 23:22:17 +0800
commit5eec050360fe748eb16f4db6397371466d72421a (patch)
tree8cb035ed94e640eb55659f1dec9924f9b3d4da02 /bin/setup
parentecb956f515a4a9fc661e0724d694fc1ed093dcaa (diff)
parent9e6fd505e12c21e60347501132e1f473b61942b3 (diff)
Merge pull request #274 from hackmdio/drop-bower
Drop bower
Diffstat (limited to '')
-rwxr-xr-xbin/setup10
1 files changed, 2 insertions, 8 deletions
diff --git a/bin/setup b/bin/setup
index 19edeecf..e24d4de7 100755
--- a/bin/setup
+++ b/bin/setup
@@ -16,12 +16,6 @@ EOF
exit 0
fi
-if ! type bower > /dev/null
-then
- echo "bower is not installed, install via npm"
- npm install -g bower
-fi
-
echo "copy config files"
if [ ! -f config.json ]; then
cp config.json.example config.json
@@ -35,8 +29,8 @@ if [ ! -f .sequelizerc ]; then
cp .sequelizerc.example .sequelizerc
fi
-echo "install npm and bower packages"
-BUILD_ASSETS=false npm install && bower install
+echo "install npm packages"
+BUILD_ASSETS=false npm install
cat << EOF