mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-02-10 18:05:10 +08:00
nodejs: fix upload files
This commit is contained in:
@ -8,14 +8,11 @@ def install_module():
|
||||
base.print_info('Install')
|
||||
base.cmd('npm', ['install'])
|
||||
|
||||
def run_module(directory, args=[]):
|
||||
base.run_nodejs_in_dir(directory, args)
|
||||
|
||||
def run_integration_example():
|
||||
install_module()
|
||||
base.set_env('NODE_CONFIG_DIR', '../config')
|
||||
base.set_env('NODE_CONFIG_DIR', './config')
|
||||
base.print_info('run integration example')
|
||||
run_module('bin', ['www'])
|
||||
base.run_nodejs(['bin/www'])
|
||||
|
||||
base.set_env('NODE_ENV', 'development-windows')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user