SSE | Sygnal Site Engine
Community ForumSupport Us!Micro-Consulting
  • Sygnal Site Engine ( SSE )
  • The SSE Architecture
  • What's New
  • Feature Roadmap
    • Component Architecture
    • File Copy & Augmented Builds
    • SA5 Integration
  • Installation & Setup
    • Setup Github Repository
    • Setup Netlify
      • jsDelivr
    • Setup Webflow
    • Advanced Install Notes
      • Creating a Persistent Test Env
      • Add SSE to an Existing Repo
  • Usage Notes
    • Developing with SSE
    • Building & Deploying Code
    • Code Structure
    • Page Router
    • Components
      • Components Future Notes
    • Source Structure & Key Files
      • Utilities
      • Route Dispatcher
      • Infrastructure
      • Usage Notes
    • SCSS
    • Useful Library Additions
      • Adding Libraries
      • Luxon
      • Cookies
      • Core Libraries
      • Extending Capabilities
    • Best Practices
    • Unit Testing
      • Using Google Sheets as a Unit Test Data Source
      • Datetime & Timezone Tests
      • Best Practices
      • Page 1
  • Sygnal Devproxy
    • What is Devproxy?
    • Devproxy Setup
    • Cloudflare Setup
    • Webflow Site Configuration
    • Configurations
      • Controlling deployment flow
    • Future
  • Tech Stack
    • Source Code Repository
    • Visual Studio Code
    • Developer IDE
    • Dev Hosting
    • Code CDN
    • Devproxy
  • Further Development
    • Dev Team Notes
      • Engine Mode
    • Reference Project
    • Future
      • Component Development
      • Reactive State Management
      • Expand Script Loading
    • Devmode
    • CI/CD Discussions
      • Page 2
    • SA5
  • Tools
    • Webflow Designer Notation
  • SPECIAL ENHANCEMENTS
    • cookie.js
    • PostHog
Powered by GitBook
On this page
  1. Installation & Setup
  2. Advanced Install Notes

Add SSE to an Existing Repo

This is an uncommon scenario, but suppose;

  • You already have a Github repo for this site

  • It's already Typescript-based, or contains other unrelated content like CSS and data

  • You want to "convert" it to an SSE repo

In this scenario you can "merge" SSE's template repo into your current repo, resolve any conflicts, and then gradually refactor your existing code into SSE's infrastructure.

  1. Open the Terminal in Your Codespace.

  2. Add the Remote Repository: (If you haven't done this already)

    git remote add template-repo https://github.com/sygnaltech/sse-template.git
  3. Fetch the Remote Repository:

    git fetch template-repo
  4. Merge with the --allow-unrelated-histories Flag:

    git merge template-repo/main --allow-unrelated-histories
  5. Resolve Any Conflicts: If there are merge conflicts, use VS Code's merge conflict resolution tools to resolve them.

  6. Commit and Push Changes:

    git add .
    git commit -m "Merged template repository into current repository with unrelated histories"
    git push origin main

PreviousCreating a Persistent Test EnvNextDeveloping with SSE

Last updated 9 months ago