Skip to content

Comments

Create BioStream Alpha Angular application with latest Angular 21 and TypeScript 5.9#1

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/create-biostream-angular-typescript
Draft

Create BioStream Alpha Angular application with latest Angular 21 and TypeScript 5.9#1
Copilot wants to merge 2 commits intomainfrom
copilot/create-biostream-angular-typescript

Conversation

Copy link
Contributor

Copilot AI commented Dec 3, 2025

Scaffolds a new Angular application for the BioStream Alpha Pharma Workflow project using the latest Angular CLI.

Stack

  • Angular 21.0.0
  • TypeScript 5.9.2
  • Vitest 4.0.8

Changes

  • Project scaffold: Generated via ng new with standalone components (Angular 21 default)
  • Configuration: Strict TypeScript, CSS styling, no SSR
  • Testing: Vitest configured with 2 passing specs
  • Build artifacts: .gitignore updated for node_modules/, dist/, .angular/cache
  • Docker support: Multi-stage Dockerfile with nginx for serving the Angular app
  • GCP deployment: GitHub Actions workflow for deploying to GCP Ubuntu instance

Usage

npm install
npm start      # dev server at localhost:4200
npm run build  # production build
npm test       # run unit tests

Docker

docker build -t biostream-alpha .
docker run -d -p 80:80 biostream-alpha

GCP Deployment

The included GitHub Actions workflow (.github/workflows/deploy-gcp.yml) automates deployment to a GCE Ubuntu instance. Configure these secrets in your repository:

  • GCP_PROJECT_ID - Your GCP project ID
  • GCP_SA_KEY - Service account key JSON
  • GCE_INSTANCE - GCE instance name
  • GCE_INSTANCE_ZONE - Instance zone (e.g., us-central1-a)
Original prompt

Create BioStream with latest angular version and typescript


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Create BioStream using latest Angular version and TypeScript Create BioStream Angular application with latest Angular 21 and TypeScript 5.9 Dec 3, 2025
Copilot AI requested a review from rckv880 December 3, 2025 01:33
@rckv880
Copy link
Owner

rckv880 commented Dec 3, 2025

@copilot deploy to a gcp ubuntu instance

Copy link
Contributor Author

Copilot AI commented Dec 3, 2025

@copilot deploy to a gcp ubuntu instance

I'm unable to deploy directly to a GCP Ubuntu instance as I don't have access to your GCP credentials or infrastructure. However, I can help you set up deployment configuration files.

To deploy manually, you can:

  1. Build the app: npm run build
  2. Copy the dist/BioStream folder to your GCP instance
  3. Serve with nginx or any static file server

If you'd like, I can add a Dockerfile or deployment configuration files (like nginx config, systemd service, or GitHub Actions workflow for GCP) to the repository to help with deployment.

@rckv880
Copy link
Owner

rckv880 commented Dec 3, 2025

@copilot I need Dockerfile and Github Actions workflow for GCP

Copy link
Contributor Author

Copilot AI commented Dec 3, 2025

@copilot I need Dockerfile and Github Actions workflow for GCP

Added in commit 8c99177:

  • Dockerfile - Multi-stage build with nginx to serve the Angular app
  • nginx.conf - Nginx configuration with Angular routing support
  • .github/workflows/deploy-gcp.yml - GitHub Actions workflow for GCP deployment

To use the workflow, configure these secrets in your repository:

  • GCP_PROJECT_ID - Your GCP project ID
  • GCP_SA_KEY - Service account key JSON
  • GCE_INSTANCE - GCE instance name
  • GCE_INSTANCE_ZONE - Instance zone (e.g., us-central1-a)

The workflow triggers on pushes to main or can be manually triggered.

@rckv880
Copy link
Owner

rckv880 commented Dec 3, 2025

@copilot rename the project from BioStream to BioStream Alpha

Co-authored-by: rckv880 <33593047+rckv880@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Dec 3, 2025

@copilot rename the project from BioStream to BioStream Alpha

Renamed to "BioStream Alpha" in commit 61537d8. Updated:

  • package.json (name: bio-stream-alpha)
  • angular.json (project: BioStreamAlpha)
  • index.html (title)
  • app.ts (title signal)
  • app.spec.ts (test expectation)
  • README.md (header, docker commands)
  • deploy-gcp.yml (image and container names)

Copilot AI changed the title Create BioStream Angular application with latest Angular 21 and TypeScript 5.9 Create BioStream Alpha Angular application with latest Angular 21 and TypeScript 5.9 Dec 3, 2025
[BIOS-001] First commit
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