Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (13 sloc) 318 Bytes
#!/bin/bash
#
#run this script by root
#kepler is a system user that has install meteor
#
BDIR="../kepler.bundle"
mkdir -p $BDIR
chmod -R 0775 $BDIR
chgrp -R kepler $BDIR
su kepler -c "meteor build --directory $BDIR"
#meteor build --directory
cd $BDIR/bundle/programs/server/
su kepler -c "npm install --production"
You can’t perform that action at this time.