Updated: Adding custom modules to Community Server
This commit is contained in:
parent
33892f60d2
commit
d3fbd7ae78
@ -22,7 +22,7 @@
|
||||
<h2 id="introduction">Introduction</h2>
|
||||
<div class="block_of_step">
|
||||
<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>
|
||||
|
||||
@ -32,15 +32,14 @@
|
||||
<div class="screen_text">
|
||||
<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>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>
|
||||
</li>
|
||||
<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>
|
||||
</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:
|
||||
<pre><code><!-- Samples -->
|
||||
<ProjectToBuild Include="$(ASCDir)web\studio\ASC.Web.Studio\Products\EmptySample\ASC.Web.EmptySample.csproj"/>
|
||||
<pre><code><!-- Sample -->
|
||||
<ProjectToBuild Include="$(ASCDir)web\studio\ASC.Web.Studio\Products\Sample\ASC.Web.Sample.csproj"/>
|
||||
</code></pre>
|
||||
<p>and</p>
|
||||
|
@ -22,7 +22,7 @@
|
||||
<h2 id="introduction">Введение</h2>
|
||||
<div class="block_of_step">
|
||||
<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>
|
||||
|
||||
@ -31,15 +31,14 @@
|
||||
<div class="screen_text">
|
||||
<ol>
|
||||
<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>
|
||||
</li>
|
||||
<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>
|
||||
</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>:
|
||||
<pre><code><!-- Samples -->
|
||||
<ProjectToBuild Include="$(ASCDir)web\studio\ASC.Web.Studio\Products\EmptySample\ASC.Web.EmptySample.csproj"/>
|
||||
<pre><code><!-- Sample -->
|
||||
<ProjectToBuild Include="$(ASCDir)web\studio\ASC.Web.Studio\Products\Sample\ASC.Web.Sample.csproj"/>
|
||||
</code></pre>
|
||||
<p>и</p>
|
||||
|
Loading…
Reference in New Issue
Block a user