This commit is contained in:
Alexey Golubev
2020-04-09 12:40:23 +03:00
15 changed files with 32 additions and 46 deletions

View File

@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) 2019 ONLYOFFICE
Copyright (c) 2020 ONLYOFFICE
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -1,7 +1,7 @@
"use strict";
/*
*
* (c) Copyright Ascensio System SIA 2019
* (c) Copyright Ascensio System SIA 2020
*
* The MIT License (MIT)
*

View File

@ -1,6 +1,6 @@
/*
*
* (c) Copyright Ascensio System SIA 2019
* (c) Copyright Ascensio System SIA 2020
*
* The MIT License (MIT)
*

View File

@ -1,7 +1,7 @@
"use strict";
/*
*
* (c) Copyright Ascensio System SIA 2019
* (c) Copyright Ascensio System SIA 2020
*
* The MIT License (MIT)
*

View File

@ -1,6 +1,6 @@
/*
*
* (c) Copyright Ascensio System SIA 2019
* (c) Copyright Ascensio System SIA 2020
*
* The MIT License (MIT)
*

View File

@ -1,6 +1,6 @@
/*
*
* (c) Copyright Ascensio System SIA 2019
* (c) Copyright Ascensio System SIA 2020
*
* The MIT License (MIT)
*

View File

@ -1,6 +1,6 @@
/*
*
* (c) Copyright Ascensio System SIA 2019
* (c) Copyright Ascensio System SIA 2020
*
* The MIT License (MIT)
*

View File

@ -1,6 +1,6 @@
/*
*
* (c) Copyright Ascensio System SIA 2019
* (c) Copyright Ascensio System SIA 2020
*
* The MIT License (MIT)
*

View File

@ -1,6 +1,6 @@
/*
*
* (c) Copyright Ascensio System SIA 2019
* (c) Copyright Ascensio System SIA 2020
*
* The MIT License (MIT)
*

View File

@ -1,6 +1,6 @@
/*
*
* (c) Copyright Ascensio System SIA 2019
* (c) Copyright Ascensio System SIA 2020
*
* The MIT License (MIT)
*

View File

@ -0,0 +1,19 @@
#!/usr/bin/env python
import sys
sys.path.append('../../../../build_tools/scripts')
import os
import base
def install_module():
base.print_info('Install')
base.cmd('npm', ['install'])
def run_integration_example():
install_module()
base.set_env('NODE_CONFIG_DIR', './config')
base.print_info('run integration example')
base.run_nodejs(['bin/www'])
base.set_env('NODE_ENV', 'development-' + base.host_platform())
run_integration_example()

View File

@ -1,18 +0,0 @@
#!/bin/bash
BASEDIR="$(cd "$(dirname "$0")" && pwd)"
cd $BASEDIR
echo "----------------------------------------"
echo "Install nodejs modules "
echo "----------------------------------------"
npm install
echo "----------------------------------------"
echo "Run server "
echo "----------------------------------------"
export NODE_CONFIG_DIR=$BASEDIR/config && export NODE_ENV=development-mac && node bin/www

View File

@ -1,15 +0,0 @@
ECHO OFF
ECHO.
ECHO ----------------------------------------
ECHO Install node.js modules
ECHO ----------------------------------------
call npm install
ECHO.
ECHO ----------------------------------------
ECHO Run server
ECHO ----------------------------------------
SET NODE_CONFIG_DIR=%~dp0\config
SET NODE_ENV=development-windows
start /min /b node bin/www

View File

@ -1,6 +1,6 @@
<!--*
*
* (c) Copyright Ascensio System SIA 2019
* (c) Copyright Ascensio System SIA 2020
*
* The MIT License (MIT)
*

View File

@ -1,6 +1,6 @@
<!--*
*
* (c) Copyright Ascensio System SIA 2019
* (c) Copyright Ascensio System SIA 2020
*
* The MIT License (MIT)
*
@ -263,7 +263,7 @@
<span id="loadScripts" data-docs="<%= preloaderUrl %>"></span>
<footer>&copy; Ascensio Systems SIA 2019. All rights reserved.</footer>
<footer>&copy; Ascensio Systems SIA 2020. All rights reserved.</footer>
<script type="text/javascript" src="javascripts/jquery-1.8.2.js"></script>
<script type="text/javascript" src="javascripts/jquery-ui.js"></script>