mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-02-10 18:05:10 +08:00
change note in readme
This commit is contained in:
@ -2,11 +2,11 @@
|
||||
|
||||
This example will help you integrate ONLYOFFICE Docs into your web application written in .Net (C# MVC).
|
||||
|
||||
It is aimed at testing the editors. Please, do not use it for production without proper modifications.
|
||||
**Please note**: It is intended for testing purposes and demonstrating functionality of the editors. Do NOT use this integration example on your own server without proper code modifications! In case you enabled the test example, disable it before going for production.
|
||||
|
||||
## Step 1. Install ONLYOFFICE Docs
|
||||
|
||||
Download and install ONLYOFFICE Docs (packaged as Document Server).
|
||||
Download and install ONLYOFFICE Docs (packaged as Document Server).
|
||||
|
||||
See the detailed guide to learn how to install Document Server [for Windows](https://helpcenter.onlyoffice.com/installation/docs-developer-install-windows.aspx), [for Linux](https://helpcenter.onlyoffice.com/installation/docs-developer-install-ubuntu.aspx), or [for Docker](https://helpcenter.onlyoffice.com/server/developer-edition/docker/docker-installation.aspx).
|
||||
|
||||
@ -43,26 +43,26 @@ Configure the IIS components for the server to work correctly:
|
||||
|
||||
**Start** -> **Control Panel** -> **System and Security** -> **Administrative Tools** -> **Internet Information Services (IIS) Manager**
|
||||
2. Add your website in the IIS Manager.
|
||||
|
||||
|
||||
On the **Connections** panel right-click the **Sites** node in the tree, then click **Add Website**.
|
||||
|
||||

|
||||
3. In the **Add Website** dialog box specify the name of the folder with the .Net (C# MVC) project in the **Site name** box.
|
||||
|
||||
|
||||
Specify the path to the folder with your project in the **Physical Path** box.
|
||||
|
||||
|
||||
Specify the unique value used only for this website in the **Port** box.
|
||||
|
||||
|
||||

|
||||
4. Check for the .NET platform version specified in IIS Manager for you website. Choose **v4.0.** version.
|
||||
|
||||
**Application Pools** -> right-click the platform name -> **Set application Pool defaults** -> **.NET CLR version**
|
||||
|
||||
|
||||

|
||||
5. Browse your website with the IIS Manager:
|
||||
|
||||
Right-click the site -> **Manage Website** -> **Browse**
|
||||
|
||||
|
||||

|
||||
|
||||
## Step 5. Check accessibility
|
||||
|
||||
@ -2,11 +2,11 @@
|
||||
|
||||
This example will help you integrate ONLYOFFICE Docs into your web application written in .Net (C#).
|
||||
|
||||
It is aimed at testing the editors. Please, do not use it for production without proper modifications.
|
||||
**Please note**: It is intended for testing purposes and demonstrating functionality of the editors. Do NOT use this integration example on your own server without proper code modifications! In case you enabled the test example, disable it before going for production.
|
||||
|
||||
## Step 1. Install ONLYOFFICE Docs
|
||||
|
||||
Download and install ONLYOFFICE Docs (packaged as Document Server).
|
||||
Download and install ONLYOFFICE Docs (packaged as Document Server).
|
||||
|
||||
See the detailed guide to learn how to install Document Server [for Windows](https://helpcenter.onlyoffice.com/installation/docs-developer-install-windows.aspx), [for Linux](https://helpcenter.onlyoffice.com/installation/docs-developer-install-ubuntu.aspx), or [for Docker](https://helpcenter.onlyoffice.com/server/developer-edition/docker/docker-installation.aspx).
|
||||
|
||||
@ -45,7 +45,7 @@ Configure the IIS components for the server to work correctly:
|
||||
**Start** -> **Control Panel** -> **System and Security** -> **Administrative Tools** -> **Internet Information Services (IIS) Manager**
|
||||
|
||||
2. Add your website in the IIS Manager.
|
||||
|
||||
|
||||
On the **Connections** panel right-click the **Sites** node in the tree, then click **Add Website**.
|
||||
|
||||

|
||||
@ -57,7 +57,7 @@ Configure the IIS components for the server to work correctly:
|
||||
|
||||

|
||||
4. Check for the .NET platform version specified in IIS Manager for you website. Choose **v4.0.** version.
|
||||
|
||||
|
||||
**Application Pools** -> right-click the platform name -> **Set application Pool defaults** -> **.NET CLR version**
|
||||
|
||||

|
||||
|
||||
@ -1,17 +1,18 @@
|
||||
## Overview
|
||||
|
||||
This example will help you integrate ONLYOFFICE Docs into your web application written in Java
|
||||
with Spring Boot.
|
||||
with Spring Boot.
|
||||
|
||||
Spring Boot has a lot of functionality, but its most significant features are: dependency management,
|
||||
auto-configuration, and built-in servlet containers.
|
||||
|
||||
It is aimed at testing the editors. Please, do not use it for production without proper modifications.
|
||||
**Please note**: It is intended for testing purposes and demonstrating functionality of the editors. Do NOT use this integration example on your own server without proper code modifications! In case you enabled the test example, disable it before going for production.
|
||||
|
||||
## For Windows
|
||||
|
||||
### Step 1. Install ONLYOFFICE Docs
|
||||
|
||||
Download and install ONLYOFFICE Docs (packaged as Document Server).
|
||||
Download and install ONLYOFFICE Docs (packaged as Document Server).
|
||||
|
||||
See the detailed guide to learn how to install Document Server [for Windows](https://helpcenter.onlyoffice.com/installation/docs-developer-install-windows.aspx).
|
||||
|
||||
@ -64,11 +65,11 @@ To run the Java example code, install the Java version 11 appropriate for your O
|
||||
```
|
||||
echo %JAVA_HOME%
|
||||
```
|
||||
|
||||
|
||||
2. Set the **MAVEN_HOME** environment variable:
|
||||
|
||||
|
||||
Unzip the downloaded archive with the maven to any directory, it will be something like this:
|
||||
|
||||
|
||||
```
|
||||
C:\apache-maven-3.8.1
|
||||
```
|
||||
@ -86,7 +87,7 @@ To run the Java example code, install the Java version 11 appropriate for your O
|
||||
|
||||
Add C:\apache-maven-3.8.1\bin to the PATH system variable:
|
||||
In system variables, find PATH, clicks on the Edit... button. In “Edit environment variable” dialog, clicks on the New button and add this C:\apache-maven-3.8.1\bin
|
||||
|
||||
|
||||
Check if the variable created successfully by **echo** command in the **Command Prompt**:
|
||||
|
||||
```
|
||||
@ -148,8 +149,8 @@ See the detailed guide to learn how to install Document Server [for Linux](https
|
||||
```
|
||||
git clone https://github.com/ONLYOFFICE/document-server-integration.git
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
3. Change the current directory for the project directory:
|
||||
|
||||
a) from archive
|
||||
@ -189,13 +190,13 @@ See the detailed guide to learn how to install Document Server [for Linux](https
|
||||
```
|
||||
mvn package
|
||||
```
|
||||
|
||||
|
||||
7. Start Java-Spring example:
|
||||
```
|
||||
./mvnw spring-boot:run
|
||||
```
|
||||
8. Open your browser using **server.address** and **server.port**:
|
||||
|
||||
|
||||
```
|
||||
http://server.address:server.port/
|
||||
```
|
||||
@ -222,7 +223,7 @@ Make sure that the Document Server has access to the server with the example ins
|
||||
server.port=port
|
||||
files.docservice.url.site=https://documentserver/
|
||||
```
|
||||
|
||||
|
||||
where the **documentserver** is the name of the server with the ONLYOFFICE Docs installed, **port** is any available port and **files.storage** is the path where files will be created and stored (in the project folder by default). You can set an absolute path.
|
||||
|
||||
3. Run the next command in the java example directory:
|
||||
@ -231,7 +232,7 @@ Make sure that the Document Server has access to the server with the example ins
|
||||
docker-compose up
|
||||
```
|
||||
4. Open your browser using **server.address** and **server.port**:
|
||||
|
||||
|
||||
```
|
||||
http://server.address:server.port/
|
||||
```
|
||||
|
||||
@ -1,14 +1,14 @@
|
||||
## Overview
|
||||
|
||||
This example will help you integrate ONLYOFFICE Docs into your web application written in Java.
|
||||
This example will help you integrate ONLYOFFICE Docs into your web application written in Java.
|
||||
|
||||
It is aimed at testing the editors. Please, do not use it for production without proper modifications.
|
||||
**Please note**: It is intended for testing purposes and demonstrating functionality of the editors. Do NOT use this integration example on your own server without proper code modifications! In case you enabled the test example, disable it before going for production.
|
||||
|
||||
## For Windows
|
||||
|
||||
### Step 1. Install ONLYOFFICE Docs
|
||||
|
||||
Download and install ONLYOFFICE Docs (packaged as Document Server).
|
||||
Download and install ONLYOFFICE Docs (packaged as Document Server).
|
||||
|
||||
See the detailed guide to learn how to [install Document Server for Windows](https://helpcenter.onlyoffice.com/installation/docs-developer-install-windows.aspx).
|
||||
|
||||
@ -97,7 +97,7 @@ To run the Java example code, install the Java version appropriate for your OS a
|
||||
2. Tomcat Web Application Manager will request the **username** and the **password:**
|
||||
|
||||

|
||||
|
||||
|
||||
|
||||
Specify user data in *tomcat-users.xml* file in the Apache Tomcat installation folder. Define the **manager-gui** user role, specify the **user name** and **password** values:
|
||||
|
||||
@ -115,9 +115,9 @@ To run the Java example code, install the Java version appropriate for your OS a
|
||||

|
||||
|
||||
4. You will see the project in the **Application List**:
|
||||
|
||||
|
||||

|
||||
|
||||
|
||||
5. Click the link with the application name to run it.
|
||||
|
||||
### Step 6. Check accessibility
|
||||
|
||||
@ -2,13 +2,13 @@
|
||||
|
||||
This example will help you integrate ONLYOFFICE Docs into your web application on Node.js.
|
||||
|
||||
It is aimed at testing the editors. Please, do not use it for production without proper modifications.
|
||||
**Please note**: It is intended for testing purposes and demonstrating functionality of the editors. Do NOT use this integration example on your own server without proper code modifications! In case you enabled the test example, disable it before going for production.
|
||||
|
||||
## For Windows
|
||||
|
||||
### Step 1. Install ONLYOFFICE Docs
|
||||
|
||||
Download and install ONLYOFFICE Docs (packaged as Document Server).
|
||||
Download and install ONLYOFFICE Docs (packaged as Document Server).
|
||||
|
||||
See the detailed guide to learn how to [install Document Server for Windows](https://helpcenter.onlyoffice.com/installation/docs-developer-install-windows.aspx).
|
||||
|
||||
|
||||
@ -2,13 +2,13 @@
|
||||
|
||||
This example will help you integrate ONLYOFFICE Docs into your web application written in PHP.
|
||||
|
||||
It is aimed at testing the editors. Please, do not use it for production without proper modifications.
|
||||
**Please note**: It is intended for testing purposes and demonstrating functionality of the editors. Do NOT use this integration example on your own server without proper code modifications! In case you enabled the test example, disable it before going for production.
|
||||
|
||||
## For Windows
|
||||
|
||||
### Step 1. Install ONLYOFFICE Docs
|
||||
|
||||
Download and install ONLYOFFICE Docs (packaged as Document Server).
|
||||
Download and install ONLYOFFICE Docs (packaged as Document Server).
|
||||
|
||||
See the detailed guide to learn how to [install Document Server for Windows](https://helpcenter.onlyoffice.com/installation/docs-developer-install-windows.aspx?from=api_php_example).
|
||||
|
||||
@ -50,11 +50,11 @@ You can use any web server capable of running PHP code to run the example. We wi
|
||||
You need to register the installed PHP version in IIS using PHP Manager.
|
||||
|
||||
Double-click **PHP Manager** to open it, click the **Register new PHP version** task and specify the full path to the main PHP executable file location. For example: *C:\Program Files\PHP\php-cgi.exe*.
|
||||
|
||||
|
||||

|
||||
|
||||
After clicking **OK**, the new **PHP version** will be registered with IIS and will become active.
|
||||
|
||||
|
||||

|
||||
|
||||
2. Configure IIS to handle PHP requests.
|
||||
@ -83,7 +83,7 @@ You can use any web server capable of running PHP code to run the example. We wi
|
||||
1. Add your website in the IIS Manager.
|
||||
|
||||
On the **Connections** panel right-click the **Sites** node in the tree, then click **Add Website**.
|
||||
|
||||
|
||||

|
||||
|
||||
2. In the **Add Website** dialog box, specify the name of the folder with the PHP project in the **Site name** box.
|
||||
@ -91,13 +91,13 @@ You can use any web server capable of running PHP code to run the example. We wi
|
||||
Specify the path to the folder with your project in the **Physical path** box.
|
||||
|
||||
Specify the unique value used only for this website in the **Port** box.
|
||||
|
||||
|
||||

|
||||
|
||||
3. Browse your website with the IIS manager:
|
||||
|
||||
Right-click the site -> **Manage Website** -> **Browse**
|
||||
|
||||
|
||||

|
||||
|
||||
### Step 6. Check accessibility
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
This example will help you integrate ONLYOFFICE Docs into your web application written in Python.
|
||||
|
||||
It is aimed at testing the editors. Please, do not use it for production without proper modifications.
|
||||
**Please note**: It is intended for testing purposes and demonstrating functionality of the editors. Do NOT use this integration example on your own server without proper code modifications! In case you enabled the test example, disable it before going for production.
|
||||
|
||||
## Step 1. Install ONLYOFFICE Docs
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
This example will help you integrate ONLYOFFICE Docs into your web application written on Ruby.
|
||||
|
||||
It is aimed at testing the editors. Please, do not use it for production without proper modifications.
|
||||
**Please note**: It is intended for testing purposes and demonstrating functionality of the editors. Do NOT use this integration example on your own server without proper code modifications! In case you enabled the test example, disable it before going for production.
|
||||
|
||||
## Step 1. Install ONLYOFFICE Docs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user