Updated: Adding custom modules to Community Server

This commit is contained in:
Svetlana Maleeva 2019-12-20 13:14:50 +03:00
parent 33892f60d2
commit d3fbd7ae78
2 changed files with 6 additions and 8 deletions

View File

@ -22,7 +22,7 @@
<h2 id="introduction">Introduction</h2> <h2 id="introduction">Introduction</h2>
<div class="block_of_step"> <div class="block_of_step">
<div class="screen_text"> <div class="screen_text">
<p>If you want to create your own modules for ONLYOFFICE and add them to <b>Community Server</b>, now you can easily do that. Sample projects are available here: <a target="_blank" href="https://github.com/ONLYOFFICE/CommunityServer-CustomModules">https://github.com/ONLYOFFICE/CommunityServer-CustomModules</a></p> <p>If you want to create your own modules for ONLYOFFICE and add them to <b>Community Server</b>, now you can easily do that. Sample project is available here: <a target="_blank" href="https://github.com/ONLYOFFICE/CommunityServer/tree/master/web/studio/ASC.Web.Studio/Products/Sample">https://github.com/ONLYOFFICE/CommunityServer/tree/master/web/studio/ASC.Web.Studio/Products/Sample</a></p>
</div> </div>
</div> </div>
@ -32,15 +32,14 @@
<div class="screen_text"> <div class="screen_text">
<ol> <ol>
<li>Get <b>ONLYOFFICE Community Server</b> from <a target="_blank" href="https://github.com/ONLYOFFICE/CommunityServer">https://github.com/ONLYOFFICE/CommunityServer</a></li> <li>Get <b>ONLYOFFICE Community Server</b> from <a target="_blank" href="https://github.com/ONLYOFFICE/CommunityServer">https://github.com/ONLYOFFICE/CommunityServer</a></li>
<li>Copy <code>EmptySample</code> and <code>Sample</code> to the <code>Products</code> folder here: <li>Copy <code>Sample</code> to the <code>Products</code> folder here:
<p><a target="_blank" href="https://github.com/ONLYOFFICE/CommunityServer/tree/master/web/studio/ASC.Web.Studio/Products">https://github.com/ONLYOFFICE/CommunityServer/tree/master/web/studio/ASC.Web.Studio/Products</a></p> <p><a target="_blank" href="https://github.com/ONLYOFFICE/CommunityServer/tree/master/web/studio/ASC.Web.Studio/Products">https://github.com/ONLYOFFICE/CommunityServer/tree/master/web/studio/ASC.Web.Studio/Products</a></p>
</li> </li>
<li>Copy <code>ASC.Api.Sample</code> to the <code>ASC.Api</code> folder here: <li>Copy <code>ASC.Api.Sample</code> to the <code>ASC.Api</code> folder here:
<p><a target="_blank" href="https://github.com/ONLYOFFICE/CommunityServer/tree/master/module/ASC.Api">https://github.com/ONLYOFFICE/CommunityServer/tree/master/module/ASC.Api</a></p> <p><a target="_blank" href="https://github.com/ONLYOFFICE/CommunityServer/tree/master/module/ASC.Api">https://github.com/ONLYOFFICE/CommunityServer/tree/master/module/ASC.Api</a></p>
</li> </li>
<li>Add the following code lines to the <a target="_blank" href="https://github.com/ONLYOFFICE/CommunityServer/blob/master/build/msbuild/build.proj">https://github.com/ONLYOFFICE/CommunityServer/blob/master/build/msbuild/build.proj</a> file: <li>Add the following code lines to the <a target="_blank" href="https://github.com/ONLYOFFICE/CommunityServer/blob/master/build/msbuild/build.proj">https://github.com/ONLYOFFICE/CommunityServer/blob/master/build/msbuild/build.proj</a> file:
<pre><code>&lt;!-- Samples --&gt; <pre><code>&lt;!-- Sample --&gt;
&lt;ProjectToBuild Include="$(ASCDir)web\studio\ASC.Web.Studio\Products\EmptySample\ASC.Web.EmptySample.csproj"/&gt;
&lt;ProjectToBuild Include="$(ASCDir)web\studio\ASC.Web.Studio\Products\Sample\ASC.Web.Sample.csproj"/&gt; &lt;ProjectToBuild Include="$(ASCDir)web\studio\ASC.Web.Studio\Products\Sample\ASC.Web.Sample.csproj"/&gt;
</code></pre> </code></pre>
<p>and</p> <p>and</p>

View File

@ -22,7 +22,7 @@
<h2 id="introduction">Введение</h2> <h2 id="introduction">Введение</h2>
<div class="block_of_step"> <div class="block_of_step">
<div class="screen_text"> <div class="screen_text">
<p>Если вы хотите создать свои собственные модули для ONLYOFFICE и добавить их в <b>Сервер совместной работы</b>, теперь вы легко можете это сделать. Примеры проектов доступны здесь: <a target="_blank" href="https://github.com/ONLYOFFICE/CommunityServer-CustomModules">https://github.com/ONLYOFFICE/CommunityServer-CustomModules</a></p> <p>Если вы хотите создать свои собственные модули для ONLYOFFICE и добавить их в <b>Сервер совместной работы</b>, теперь вы легко можете это сделать. Пример проекта доступен здесь: <a target="_blank" href="https://github.com/ONLYOFFICE/CommunityServer/tree/master/web/studio/ASC.Web.Studio/Products/Sample">https://github.com/ONLYOFFICE/CommunityServer/tree/master/web/studio/ASC.Web.Studio/Products/Sample</a></p>
</div> </div>
</div> </div>
@ -31,15 +31,14 @@
<div class="screen_text"> <div class="screen_text">
<ol> <ol>
<li>Получите <b>Сервер совместной работы ONLYOFFICE</b> со страницы <a target="_blank" href="https://github.com/ONLYOFFICE/CommunityServer">https://github.com/ONLYOFFICE/CommunityServer</a></li> <li>Получите <b>Сервер совместной работы ONLYOFFICE</b> со страницы <a target="_blank" href="https://github.com/ONLYOFFICE/CommunityServer">https://github.com/ONLYOFFICE/CommunityServer</a></li>
<li>Скопируйте <code>EmptySample</code> и <code>Sample</code> в папку <code>Products</code>, которая находится здесь: <li>Скопируйте <code>Sample</code> в папку <code>Products</code>, которая находится здесь:
<p><a target="_blank" href="https://github.com/ONLYOFFICE/CommunityServer/tree/master/web/studio/ASC.Web.Studio/Products">https://github.com/ONLYOFFICE/CommunityServer/tree/master/web/studio/ASC.Web.Studio/Products</a></p> <p><a target="_blank" href="https://github.com/ONLYOFFICE/CommunityServer/tree/master/web/studio/ASC.Web.Studio/Products">https://github.com/ONLYOFFICE/CommunityServer/tree/master/web/studio/ASC.Web.Studio/Products</a></p>
</li> </li>
<li>Скопируйте <code>ASC.Api.Sample</code> в папку <code>ASC.Api</code>, которая находится здесь: <li>Скопируйте <code>ASC.Api.Sample</code> в папку <code>ASC.Api</code>, которая находится здесь:
<p><a target="_blank" href="https://github.com/ONLYOFFICE/CommunityServer/tree/master/module/ASC.Api">https://github.com/ONLYOFFICE/CommunityServer/tree/master/module/ASC.Api</a></p> <p><a target="_blank" href="https://github.com/ONLYOFFICE/CommunityServer/tree/master/module/ASC.Api">https://github.com/ONLYOFFICE/CommunityServer/tree/master/module/ASC.Api</a></p>
</li> </li>
<li>Добавьте следующие строки кода в файл <a target="_blank" href="https://github.com/ONLYOFFICE/CommunityServer/blob/master/build/msbuild/build.proj">https://github.com/ONLYOFFICE/CommunityServer/blob/master/build/msbuild/build.proj</a>: <li>Добавьте следующие строки кода в файл <a target="_blank" href="https://github.com/ONLYOFFICE/CommunityServer/blob/master/build/msbuild/build.proj">https://github.com/ONLYOFFICE/CommunityServer/blob/master/build/msbuild/build.proj</a>:
<pre><code>&lt;!-- Samples --&gt; <pre><code>&lt;!-- Sample --&gt;
&lt;ProjectToBuild Include="$(ASCDir)web\studio\ASC.Web.Studio\Products\EmptySample\ASC.Web.EmptySample.csproj"/&gt;
&lt;ProjectToBuild Include="$(ASCDir)web\studio\ASC.Web.Studio\Products\Sample\ASC.Web.Sample.csproj"/&gt; &lt;ProjectToBuild Include="$(ASCDir)web\studio\ASC.Web.Studio\Products\Sample\ASC.Web.Sample.csproj"/&gt;
</code></pre> </code></pre>
<p>и</p> <p>и</p>