Splore deployment (#1992)

Make sure we run npm install in js first
This commit is contained in:
Erik Arvidsson
2016-07-08 11:46:10 -07:00
committed by GitHub
parent c7b67ab50a
commit 88fd487f00

View File

@@ -19,8 +19,13 @@ def pushd(path):
os.chdir(currentDir)
def main():
with pushd('../'):
with pushd('../../../js'):
print('Now running npm install in %s' % os.getcwd())
subprocess.check_call(['npm', 'install'], shell=False)
with pushd('../'):
print('Now running npm install in %s' % os.getcwd())
subprocess.check_call(['npm', 'install'], shell=False)
print('Now running npm install in %s' % os.getcwd())
subprocess.check_call(['npm', 'install'], shell=False)
if __name__ == "__main__":