-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add deployment scripts used as a guide for how to deploy your applica…
…tion. (These are included in the PDF library traditional installer but were missed as part of the new samples repository) The paths used are meant as examples of wherever you have your local resources _actually_ stored relative to the project.
- Loading branch information
1 parent
7afe321
commit 2836081
Showing
11 changed files
with
173 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
# This is a simple script to illustrate how to publish the dependencies of PDFL for .NET. | ||
# You should first publish your .NET application to copy the PDFL .NET Class library and other .NET dependencies, e.g.: | ||
# dotnet publish ./MyApplication.csproj | ||
|
||
echo Copy PDFL libraries | ||
cp ./*.so* ./publish | ||
|
||
echo Copy Plugin libraries | ||
cp ./*.ppi ./publish | ||
|
||
echo Copy Tesseract Data which is needed for OCR usage, if you aren't using OCR you don't need this. | ||
cp -rp ./tessdata4 ./publish | ||
|
||
echo Copy Resources which contains things needed by PDFL for dealing with Fonts, CMaps, and Color Profiles for example | ||
cp -rp ./Resources ./publish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
# This is a simple script to illustrate how to publish the dependencies of PDFL for .NET. | ||
# You should first publish your .NET application to copy the PDFL .NET Class library and other .NET dependencies, e.g.: | ||
# dotnet publish ./MyApplication.csproj | ||
|
||
echo Copy Tesseract Data which is needed for OCR usage, if you aren't using OCR you don't need this. | ||
cp -rp ./tessdata4 ./publish | ||
|
||
echo Copy Mac dependencies, upon deployment you need to decompress this archive | ||
cp ./macOS_Dependencies.zip ./publish | ||
|
||
echo Copy Resources which contains things needed by PDFL for dealing with Fonts, CMaps, and Color Profiles for example | ||
cp -rp ./Resources ./publish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
# This is a simple script to illustrate how to publish the dependencies of PDFL for .NET. | ||
# You should first publish your .NET application to copy the PDFL .NET Class library and other .NET dependencies, e.g.: | ||
# dotnet publish ./MyApplication.csproj | ||
|
||
echo Copy Tesseract Data which is needed for OCR usage, if you aren't using OCR you don't need this. | ||
cp -rp ./tessdata4 ./publish | ||
|
||
echo Copy Mac ARM dependencies, upon deployment you need to decompress this archive | ||
cp ./MacARM_Dependencies.zip ./publish | ||
|
||
echo Copy Resources which contains things needed by PDFL for dealing with Fonts, CMaps, and Color Profiles for example | ||
cp -rp ./Resources ./publish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
# This is a simple script to illustrate how to publish the dependencies of PDFL for .NET. | ||
# You should first publish your .NET application to copy the PDFL .NET Class library and other .NET dependencies, e.g.: | ||
# dotnet publish ./MyApplication.csproj | ||
|
||
echo Copy Tesseract Data which is needed for OCR usage, if you aren't using OCR you don't need this. | ||
cp -rp ./tessdata4 ./publish | ||
|
||
echo Copy Windows dependencies, upon deployment you need to decompress this archive | ||
cp ./Windows_Dependencies.zip ./publish | ||
|
||
echo Copy Resources which contains things needed by PDFL for dealing with Fonts, CMaps, and Color Profiles for example | ||
cp -rp ./Resources ./publish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
# This is a simple script to illustrate how to publish the dependencies of PDFL for .NET. | ||
# You should first publish your .NET application to copy the PDFL .NET Class library and other .NET dependencies, e.g.: | ||
# dotnet publish ./MyApplication.csproj | ||
|
||
# Make sure the directory is there, so the following commands work | ||
mkdir -p publish | ||
|
||
rsync="rsync -aEq --delete" | ||
|
||
echo Copy Tesseract Data which is needed for OCR usage, if you aren't using OCR you don't need this. | ||
$rsync ./tessdata4/ ./publish/tessdata4/ | ||
|
||
echo Copy Linux dependencies, upon deployment you need to decompress this archive | ||
cp -a ./Linux_Dependencies.tar.gz ./publish | ||
|
||
echo Copy Resources which contains things needed by PDFL for dealing with Fonts, CMaps, and Color Profiles for example | ||
$rsync ./Resources/ ./publish/Resources/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
# This is a simple script to illustrate how to publish the dependencies of PDFL for .NET. | ||
# You should first publish your .NET application to copy the PDFL .NET Class library and other .NET dependencies, e.g.: | ||
# dotnet publish ./MyApplication.csproj | ||
|
||
# Make sure the directory is there, so the following commands work | ||
mkdir -p publish | ||
|
||
rsync="rsync -aEq --delete" | ||
|
||
echo Copy PDFL libraries | ||
cp -a *.dylib ./publish | ||
|
||
echo Copy PDFL Frameworks and Plugins | ||
for dir in *.framework *.ppi | ||
do | ||
$rsync $dir/ publish/$dir/ | ||
done | ||
|
||
echo Copy Tesseract Data which is needed for OCR usage, if you aren't using OCR you don't need this. | ||
$rsync ./tessdata4/ ./publish/tessdata4/ | ||
|
||
echo Copy Resources which contains things needed by PDFL for dealing with Fonts, CMaps, and Color Profiles for example | ||
$rsync ./Resources/ ./publish/Resources/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
# This is a simple script to illustrate how to publish the dependencies of PDFL for .NET. | ||
# You should first publish your .NET application to copy the PDFL .NET Class library and other .NET dependencies, e.g.: | ||
# dotnet publish ./MyApplication.csproj | ||
|
||
# Make sure the directory is there, so the following commands work | ||
mkdir -p publish | ||
|
||
rsync="rsync -aEq --delete" | ||
|
||
echo Copy Tesseract Data which is needed for OCR usage, if you aren't using OCR you don't need this. | ||
$rsync ./tessdata4/ ./publish/tessdata4/ | ||
|
||
echo Copy Windows dependencies, upon deployment you need to decompress this archive | ||
cp -a ./Windows_Dependencies.zip ./publish | ||
|
||
echo Copy Resources which contains things needed by PDFL for dealing with Fonts, CMaps, and Color Profiles for example | ||
$rsync ./Resources/ ./publish/Resources/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
REM This is a simple script to illustrate how to publish the dependencies of PDFL for .NET. | ||
REM You should first publish your .NET application to copy the PDFL .NET Class library and other .NET dependencies, e.g.: | ||
REM dotnet publish ./MyApplication.csproj | ||
|
||
echo Copy Tesseract Data which is needed for OCR usage, if you aren't using OCR you don't need this. | ||
xcopy "./tessdata4" "./publish/tessdata4" /i /y | ||
|
||
echo Copy Linux dependencies, upon deployment you need to decompress this archive | ||
xcopy "Linux_Dependencies.tar.gz" "./publish" /y | ||
|
||
echo Copy Resources which contains things needed by PDFL for dealing with Fonts, CMaps, and Color Profiles for example | ||
xcopy ".\Resources\*" ".\publish\Resources" /i /s /y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
REM This is a simple script to illustrate how to publish the dependencies of PDFL for .NET. | ||
REM You should first publish your .NET application to copy the PDFL .NET Class library and other .NET dependencies, e.g.: | ||
REM dotnet publish ./MyApplication.csproj | ||
|
||
echo Copy Tesseract Data which is needed for OCR usage, if you aren't using OCR you don't need this. | ||
xcopy "./tessdata4" "./publish/tessdata4" /i /y | ||
|
||
echo Copy Mac dependencies, upon deployment you need to decompress this archive | ||
xcopy "macOS_Dependencies.zip" "./publish" /y | ||
|
||
echo Copy Resources which contains things needed by PDFL for dealing with Fonts, CMaps, and Color Profiles for example | ||
xcopy ".\Resources\*" ".\publish\Resources" /i /s /y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
REM This is a simple script to illustrate how to publish the dependencies of PDFL for .NET. | ||
REM You should first publish your .NET application to copy the PDFL .NET Class library and other .NET dependencies, e.g.: | ||
REM dotnet publish ./MyApplication.csproj | ||
|
||
echo Copy Tesseract Data which is needed for OCR usage, if you aren't using OCR you don't need this. | ||
xcopy "./tessdata4" "./publish/tessdata4" /i /y | ||
|
||
echo Copy Mac ARM dependencies, upon deployment you need to decompress this archive | ||
xcopy "MacARM_Dependencies.zip" "./publish" /y | ||
|
||
echo Copy Resources which contains things needed by PDFL for dealing with Fonts, CMaps, and Color Profiles for example | ||
xcopy ".\Resources\*" ".\publish\Resources" /i /s /y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
REM This is a simple script to illustrate how to publish the dependencies of PDFL for .NET. | ||
REM You should first publish your .NET application to copy the PDFL .NET Class library and other .NET dependencies, e.g.: | ||
REM dotnet publish ./MyApplication.csproj | ||
|
||
echo Copy PDFL .dll's | ||
xcopy "*.dll" "./publish" /y | ||
|
||
echo Copy Plugin dll's | ||
xcopy "*.ppi" "./publish" /y | ||
|
||
echo Copy Tesseract Data which is needed for OCR usage, if you aren't using OCR you don't need this. | ||
xcopy "./tessdata4" "./publish/tessdata4" /i /y | ||
|
||
echo Copy Resources which contains things needed by PDFL for dealing with Fonts, CMaps, and Color Profiles for example | ||
xcopy ".\Resources\*" ".\publish\Resources" /i /s /y |