Skip to content

Commit 7d7ba91

Browse files
Merge pull request #476 from Syncfusion-Content/hotfix/hotfix-v26.1.35
DOCINFRA-2341_merged_using_automation
2 parents edc1d1b + 530c9f8 commit 7d7ba91

File tree

4 files changed

+121
-1
lines changed

4 files changed

+121
-1
lines changed

ej2-react-toc.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2404,6 +2404,7 @@ <h1>Summary of Predefined Dialogs component</h1>
24042404
<li><a href="/ej2-react/spreadsheet/nextjs-getting-started">Getting Started with NextJS</a></li>
24052405
<li><a href="/ej2-react/spreadsheet/data-binding">Data Binding</a></li>
24062406
<li><a href="/ej2-react/spreadsheet/open-save">Open and Save</a></li>
2407+
<li><a href="/ej2-react/spreadsheet/docker-deployment">Docker Deployment</a></li>
24072408
<li><a href="/ej2-react/spreadsheet/worksheet">Worksheet</a></li>
24082409
<li><a href="/ej2-react/spreadsheet/cell-range">Cell Range</a></li>
24092410
<li><a href="/ej2-react/spreadsheet/editing">Editing</a></li>
@@ -2959,7 +2960,7 @@ <h1>Summary of Predefined Dialogs component</h1>
29592960
</ul>
29602961
</li> <li>Release Notes
29612962
<ul>
2962-
<li>2024 Volume 2 - 26.*<ul><li>Weekly Release<ul><li><a href="/ej2-react/release-notes/26.1.41">26.1.41</a></li><li><a href="/ej2-react/release-notes/26.1.40">26.1.40</a></li><li><a href="/ej2-react/release-notes/26.1.39">26.1.39</a></li><li><a href="/ej2-react/release-notes/26.1.38">26.1.38</a></li></ul></li><li><a href="/ej2-react/release-notes/26.1.35">26.1.35 Main Release</a></li></ul></li><li>2024 Volume 1 - 25.*<ul><li>Weekly Release<ul><li><a href="/ej2-react/release-notes/25.2.7">25.2.7</a></li><li><a href="/ej2-react/release-notes/25.2.6">25.2.6</a></li><li><a href="/ej2-react/release-notes/25.2.5">25.2.5</a></li><li><a href="/ej2-react/release-notes/25.2.4">25.2.4</a></li><li><a href="/ej2-react/release-notes/25.1.42">25.1.42</a></li><li><a href="/ej2-react/release-notes/25.1.41">25.1.41</a></li><li><a href="/ej2-react/release-notes/25.1.40">25.1.40</a></li><li><a href="/ej2-react/release-notes/25.1.39">25.1.39</a></li><li><a href="/ej2-react/release-notes/25.1.38">25.1.38</a></li><li><a href="/ej2-react/release-notes/25.1.37">25.1.37</a></li></ul></li><li><a href="/ej2-react/release-notes/25.2.3">25.2.3 Service Pack Release</a></li><li><a href="/ej2-react/release-notes/25.1.35">25.1.35 Main Release</a></li></ul></li>
2963+
<li>2024 Volume 2 - 26.*<ul><li>Weekly Release<ul><li><a href="/ej2-react/release-notes/26.1.42">26.1.42</a></li><li><a href="/ej2-react/release-notes/26.1.41">26.1.41</a></li><li><a href="/ej2-react/release-notes/26.1.40">26.1.40</a></li><li><a href="/ej2-react/release-notes/26.1.39">26.1.39</a></li><li><a href="/ej2-react/release-notes/26.1.38">26.1.38</a></li></ul></li><li><a href="/ej2-react/release-notes/26.1.35">26.1.35 Main Release</a></li></ul></li><li>2024 Volume 1 - 25.*<ul><li>Weekly Release<ul><li><a href="/ej2-react/release-notes/25.2.7">25.2.7</a></li><li><a href="/ej2-react/release-notes/25.2.6">25.2.6</a></li><li><a href="/ej2-react/release-notes/25.2.5">25.2.5</a></li><li><a href="/ej2-react/release-notes/25.2.4">25.2.4</a></li><li><a href="/ej2-react/release-notes/25.1.42">25.1.42</a></li><li><a href="/ej2-react/release-notes/25.1.41">25.1.41</a></li><li><a href="/ej2-react/release-notes/25.1.40">25.1.40</a></li><li><a href="/ej2-react/release-notes/25.1.39">25.1.39</a></li><li><a href="/ej2-react/release-notes/25.1.38">25.1.38</a></li><li><a href="/ej2-react/release-notes/25.1.37">25.1.37</a></li></ul></li><li><a href="/ej2-react/release-notes/25.2.3">25.2.3 Service Pack Release</a></li><li><a href="/ej2-react/release-notes/25.1.35">25.1.35 Main Release</a></li></ul></li>
29632964
<li>2023 Volume 4 - 24.*<ul><li>Weekly Release<ul><li><a href="/ej2-react/release-notes/24.2.9">24.2.9</a></li><li><a href="/ej2-react/release-notes/24.2.8">24.2.8</a></li><li><a href="/ej2-react/release-notes/24.2.7">24.2.7</a></li><li><a href="/ej2-react/release-notes/24.2.6">24.2.6</a></li><li><a href="/ej2-react/release-notes/24.2.5">24.2.5</a></li><li><a href="/ej2-react/release-notes/24.2.4">24.2.4</a></li><li><a href="/ej2-react/release-notes/24.1.47">24.1.47</a></li><li><a href="/ej2-react/release-notes/24.1.46">24.1.46</a></li><li><a href="/ej2-react/release-notes/24.1.45">24.1.45</a></li><li><a href="/ej2-react/release-notes/24.1.44">24.1.44</a></li><li><a href="/ej2-react/release-notes/24.1.43">24.1.43</a></li></ul></li><li><a href="/ej2-react/release-notes/24.2.3">24.2.3 Service Pack Release</a></li><li><a href="/ej2-react/release-notes/24.1.41">24.1.41 Main Release</a></li></ul></li>
29642965
<li>2023 Volume 3 - 23.*<ul><li> Weekly Release<ul><li><a href="/ej2-react/release-notes/23.2.7">23.2.7</a></li><li><a href="/ej2-react/release-notes/23.2.6">23.2.6</a></li><li><a href="/ej2-react/release-notes/23.2.5">23.2.5</a></li><li><a href="/ej2-react/release-notes/23.1.44">23.1.44</a></li><li><a href="/ej2-react/release-notes/23.1.43">23.1.43</a></li><li><a href="/ej2-react/release-notes/23.1.42">23.1.42</a></li><li><a href="/ej2-react/release-notes/23.1.41">23.1.41</a></li><li><a href="/ej2-react/release-notes/23.1.40">23.1.40</a></li><li><a href="/ej2-react/release-notes/23.1.39">23.1.39</a></li><li><a href="/ej2-react/release-notes/23.1.38">23.1.38</a></li></ul></li><li><a href="/ej2-react/release-notes/23.2.4">23.2.4 Service Pack Release</a></li><li><a href="/ej2-react/release-notes/23.1.36">23.1.36 Main Release</a></li></ul></li>
29652966
<li>2023 Volume 2 - 22.*

ej2-react/Release-notes/26.1.42.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: Essential Studio for React Weekly Release Release Notes
3+
description: Essential Studio for React Weekly Release Release Notes
4+
platform: ej2-react
5+
documentation: ug
6+
---
7+
8+
# Essential Studio for React Release Notes
9+
10+
{% include release-info.html date="July 16, 2024" version="v26.1.42" %}
11+
12+
{% directory path: _includes/release-notes/v26.1.42 %}
13+
14+
{% include {{file.url}} %}
15+
16+
{% enddirectory %}
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
---
2+
layout: post
3+
title: Docker image deployment in React Spreadsheet component | Syncfusion
4+
description: Learn here all about Docker image deployment in Syncfusion React Spreadsheet component of Syncfusion Essential JS 2 and more.
5+
platform: ej2-react
6+
control: Docker deployment
7+
documentation: ug
8+
domainurl: ##DomainURL##
9+
---
10+
11+
# Docker Image Overview in React Spreadsheet component
12+
13+
The [**Syncfusion Spreadsheet (also known as Excel Viewer)**](https://www.syncfusion.com/react-components/react-spreadsheet) is a feature-rich control for organizing and analyzing data in a tabular format. It provides all the common Excel features, including data binding, selection, editing, formatting, resizing, sorting, filtering, importing, and exporting Excel documents.
14+
15+
This Docker image is the pre-defined Docker container for Syncfusion's Spreadsheet backend functionalities. This server-side Web API project targets ASP.NET Core 6.0.
16+
17+
You can deploy it quickly to your infrastructure. If you want to add new functionality or customize any existing functionalities, create your own Docker file by referencing the existing [Spreadsheet Docker project](https://github.com/SyncfusionExamples/Spreadsheet-Server-Docker).
18+
19+
The Spreadsheet is supported on the [JavaScript](https://www.syncfusion.com/javascript-ui-controls), [Angular](https://www.syncfusion.com/angular-ui-components), [React](https://www.syncfusion.com/react-ui-components), [Vue](https://www.syncfusion.com/vue-ui-components), [ASP.NET Core](https://www.syncfusion.com/aspnet-core-ui-controls), and [ASP.NET MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls) platforms.
20+
21+
## Prerequisites
22+
23+
Have [`Docker`](https://www.docker.com/products/container-runtime#/download) installed in your environment:
24+
25+
* On Windows, install [`Docker for Windows`](https://hub.docker.com/editions/community/docker-ce-desktop-windows).
26+
* On macOS, install [`Docker for Mac`](https://docs.docker.com/desktop/install/mac-install/).
27+
28+
## How to deploy the Spreadsheet Docker Image
29+
30+
**Step 1:** Pull the spreadsheet-server image from Docker Hub.
31+
32+
```console
33+
docker pull syncfusion/spreadsheet-server
34+
```
35+
36+
**Step 2:** Create the `docker-compose.yml` file with the following code in your file system.
37+
38+
```yaml
39+
version: '3.4'
40+
41+
services:
42+
spreadsheet-server:
43+
image: syncfusion/spreadsheet-server:latest
44+
environment:
45+
# Provide your license key for activation
46+
SYNCFUSION_LICENSE_KEY: YOUR_LICENSE_KEY
47+
ports:
48+
- "6002:80"
49+
```
50+
51+
**Note:** The Spreadsheet is a commercial product. It requires a valid [license key](https://help.syncfusion.com/common/essential-studio/licensing/licensing-faq/where-can-i-get-a-license-key) to use in a production environment. Please replace `YOUR_LICENSE_KEY` with the valid license key in the `docker-compose.yml` file.
52+
53+
**Step 3:** In a terminal tab, navigate to the directory where you've placed the `docker-compose.yml` file and execute the following:
54+
55+
```console
56+
docker-compose up
57+
```
58+
59+
Now the Spreadsheet server Docker instance runs on localhost with the provided port number `http://localhost:6002`. Open this link in a browser and navigate to the Spreadsheet Web API open and save service at `http://localhost:6002/api/spreadsheet/open` and `http://localhost:6002/api/spreadsheet/save`.
60+
61+
**Step 4:** Append the URLs of the Docker instance running services to the [`openUrl`](https://helpej2.syncfusion.com/react/documentation/api/spreadsheet/#openurl) property as `http://localhost:6002/api/spreadsheet/open` and the [`saveUrl`](https://helpej2.syncfusion.com/react/documentation/api/spreadsheet/#saveurl) property as `http://localhost:6002/api/spreadsheet/save` in the client-side Spreadsheet component. For more information on how to get started with the Spreadsheet component, refer to this [`getting started page.`](https://ej2.syncfusion.com/react/documentation/spreadsheet/getting-started)
62+
63+
```js
64+
import * as React from 'react';
65+
import { createRoot } from 'react-dom/client';
66+
import { SpreadsheetComponent } from '@syncfusion/ej2-react-spreadsheet';
67+
68+
function App() {
69+
70+
return (
71+
// Initialize Spreadsheet component.
72+
<SpreadsheetComponent openUrl='http://localhost:6002/api/spreadsheet/open' saveUrl='http://localhost:6002/api/spreadsheet/save' />
73+
);
74+
};
75+
export default App;
76+
77+
const root = createRoot(document.getElementById('root'));
78+
root.render(<App />);
79+
```
80+
81+
## How to configure different cultures using a Docker compose file
82+
83+
By default, the Spreadsheet Docker container is generated in the `en_US` culture. You can configure different cultures using the `LC_ALL`, `LANGUAGE`, and `LANG` environment variables in the `docker-compose.yml` file. These environment variables are replaced in the Docker file to set the specified culture for the Spreadsheet server.
84+
85+
```yaml
86+
version: '3.4'
87+
88+
services:
89+
spreadsheet-server:
90+
image: syncfusion/spreadsheet-server:latest
91+
environment:
92+
# Provide your license key for activation
93+
SYNCFUSION_LICENSE_KEY: YOUR_LICENSE_KEY
94+
# Specify the culture to configure for the Spreadsheet server
95+
LC_ALL: de_DE.UTF-8
96+
LANGUAGE: de_DE.UTF-8
97+
LANG: de_DE.UTF-8
98+
ports:
99+
- "6002:80"
100+
```
101+
102+
Please refer to these getting started pages to create a Spreadsheet in [`Javascript`](https://ej2.syncfusion.com/javascript/documentation/spreadsheet/getting-started), [`Angular`](https://ej2.syncfusion.com/angular/documentation/spreadsheet/getting-started), [`Vue`](https://ej2.syncfusion.com/vue/documentation/spreadsheet/getting-started), [`ASP.NET Core`](https://ej2.syncfusion.com/aspnetcore/documentation/spreadsheet/getting-started-core), and [`ASP.NET MVC`](https://ej2.syncfusion.com/aspnetmvc/documentation/spreadsheet/getting-started-mvc).

ej2-react/spreadsheet/open-save.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,3 +616,4 @@ You can refer to our [React Spreadsheet](https://www.syncfusion.com/react-ui-com
616616
* [Filtering](./filter)
617617
* [Sorting](./sort)
618618
* [Hyperlink](./link)
619+
* [Docker Image](./docker-deployment)

0 commit comments

Comments
 (0)