Git Product home page Git Product logo

bhufmann / cdt-cloud-blueprint Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eclipse-cdt-cloud/cdt-cloud-blueprint

0.0 1.0 0.0 3.52 MB

CDT.cloud Blueprint is a template for building custom web-based C/C++ tools. It is made up of existing open source components and can be easily downloaded and installed on all major operating system platforms.

License: Other

JavaScript 7.60% Dockerfile 3.90% HTML 4.63% Shell 3.53% TypeScript 70.51% CSS 1.40% CMake 1.34% C 4.89% C++ 2.20%

cdt-cloud-blueprint's Introduction


CDT Cloud Blueprint is a template for building custom web-based C/C++ tools. It is made up of existing open source components and can be easily downloaded and installed on all major operating system platforms.

Visit the CDT Cloud website for more information.

License

What is this?

CDT Cloud Blueprint is a template for building custom web-based C/C++ tools. It is made up of existing open source components and can be easily downloaded and installed on all major operating system platforms.

What is it not?

CDT Cloud Blueprint is not a production-ready product. Therefore, it is also not meant to be a replacement for Visual Studio Code or any other IDE.

Current state

CDT Cloud Blueprint is in an early alpha state and undergoing active development. See this milestone for release 1.0.

Development

CDT Cloud Blueprint is based on Eclipse Theia Blueprint.

Requirements

Please check Theia's prerequisites, and keep node versions aligned between CDT Cloud Blueprint and that of the referenced Theia version.

Documentation

Documentation on how to package Theia as a Desktop Product may be found here

Repository Structure

  • Root level configures mono-repo build with lerna
  • applications groups the different app targets
    • electron contains app to package, packaging configuration, and E2E tests for the Electron target.
  • theia-extensions groups the various custom theia extensions for CDT Cloud Blueprint
    • theia-blueprint-product contains a Theia extension contributing the product branding (about dialogue and welcome page).
    • theia-blueprint-updater contains a Theia extension contributing the update mechanism and corresponding UI elements (based on the Electron updater).

Build

yarn

Package the Application

yarn electron package

The packaged application is located in applications/electron/dist.

Create a Preview Application (without packaging it)

yarn electron package:preview

The packaged application is located in applications/electron/dist.

Workspace and example files

Running E2E Tests

The E2E tests basic UI tests of the actual application. This is done based on the preview of the packaged application.

yarn electron package:preview
yarn electron test

Docker based development

  1. Install the Remote Dev extension pack in VS Code
  2. Open this repository in VS Code
  3. In the notification that should appear: confirm to open this folder in the remote container instead
  4. Once VS Code is opened in the container and the Configuring Dev Container task is finished, run yarn browser start in the container's terminal to start the CDT Cloud blueprint backend.
  5. Once CDT Cloud blueprint is up, it should be running on 127.0.0.1:3000 and can be accessed from the host.

Now you can make changes to the source code and rebuild with yarn or run yarn watch before the changes. After a browser refresh, your changes should get effective.

Build & run Docker image

To build a fully functioning Docker image run:

docker build -t cdt-cloud-blueprint:latest -f dockerfile/Dockerfile .

To start the created image run:

docker run -it -p 0.0.0.0:3000:3000 -p 0.0.0.0:8080:8080 cdt-cloud-blueprint:latest

Troubleshooting

Reporting Feature Requests and Bugs

The features in CDT Cloud Blueprint are based on Theia and the included extensions/plugins. For bugs in Theia please consider opening an issue in the Theia project on Github. CDT Cloud Blueprint only packages existing functionality into a product and installers for the product. If you believe there is a mistake in packaging, something needs to be added to the packaging or the installers do not work properly, please open an issue on Github to let us know.

cdt-cloud-blueprint's People

Contributors

alexandrabuzila avatar atharva321 avatar bhufmann avatar ducngn avatar duncdrum avatar erikmallbergstm avatar fredg02 avatar jfaltermeier avatar jonahgraham avatar jonashelming avatar lucas-koehler avatar marcdumais-work avatar niklas-dahlquist avatar paul-marechal avatar planger avatar sdirix avatar sgraband avatar thegecko avatar vince-fugnitto avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.