Skip to content

Conversation

@jojozhuang
Copy link
Collaborator

@jojozhuang jojozhuang commented Nov 8, 2025

This deployment is similar to text-compare2 (see #62), but text-compare targets Windows Server, while text-compare2 is configured for Linux.

Configuration

1. Build and Deploy

In the deployment pipeline, add steps to install dependencies and build the Angular project:

npm install
npm run build:azure

2. Configure Output Folder

Since only the static files are required for the Angular application, set the build output folder (./dist/browser) as the artifact to upload for the deployment job. This helps reduce the size of the deployment package.

3. Clean Previous Deployment

Before deploying a new version, clean the existing files in the Azure App Service wwwroot directory.

Enable automatic cleanup by adding:

with:
  clean: true

4. Startup Command

No need to configure startup command.

Inspection

Debug Console

If you need to inspect the deployed files on Azure, you can use the Debug Console at: https://text-compare.scm.azurewebsites.net/DebugConsole .

Or you can find it through the following steps:

  1. Go to Azure Portal → Your App Service
  2. Development Tools → Advanced Tools
  3. Click Go → opens Kudu
  4. Click Debug console->PowerShell on the top
image

Test

Deployment should be complete. You can verify it at https://text-compare.azurewebsites.net/.

image

@netlify
Copy link

netlify bot commented Nov 8, 2025

Deploy Preview for text-compare ready!

Name Link
🔨 Latest commit 1f8b1b0
🔍 Latest deploy log https://app.netlify.com/projects/text-compare/deploys/690f8d533fe89a0008764266
😎 Deploy Preview https://deploy-preview-63--text-compare.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@jojozhuang jojozhuang temporarily deployed to fix-deployment-to-text-compare - text-compare PR #63 November 8, 2025 18:34 — with Render Destroyed
@jojozhuang jojozhuang merged commit c97e765 into main Nov 8, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants