Skip to main content

eXtensible Graphical EMOF Editor - a framework for graphical editing single page web-applications

Project description

XGEE Framework launcher

This is the XGEE framework launcher for starting XGEE applications on your computer.

Purpose

The XGEE framework launcher is intended for hosting your XGEE application based on a YAML configuration file. It can host the single-page application through a tornado webserver as well as the EOQ model workspace.

Preparing your App

To launch your XGEE application through the XGEE launcher you need to provide a YAML configuration file with the following parameters:

app:
  name: My XGEE application     # The application name
  port: 8080                    # The HTTP port of the application
eoq:    
  port: 8000                    # The EOQ WebSocket port of the application
  workspace: ./workspace        # The workspace folder of your application containing all model files
  actions: ./actions            # The actions folder of your application containing your EOQ actions
  meta: ./meta                  # The meta-model folder of your application containing your meta-models

You need to place all of your single-page application files in the app subdirectory of your application directory. These files will be hosted by the XGEE framework.

Note: The XGEE framework hosts all XGEE core files in the http://localhost:port/xgee-core directory. You do not have to bundle these files with your application. Instead you need to adjust your relative include paths in your application to this directory.

You only need to supply the meta-models required for your application. All XGEE related meta-files are added to your EOQ server automatically, if hosted through the XGEE framework launcher.

Note: The XGEE framework automatically loads the XGEE meta-models on your server. You should not include the XGEE meta-model files (e.g. layout.ecore) in your meta folder separately.

Launching your XGEE application

You can launch your XGEE app by issuing the xgee command in your app directory from your terminal. If you want to launch multiple applications at once you can call the xgee command on a directory xgee ./apps. The launcher will display an overview of your launched XGEE apps.

App Name App Path Web Instance EOQ Instance
My application ./myapp http://localhost:8080 ws://localhost:8000

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

XGEE-0.3.7.tar.gz (4.8 MB view hashes)

Uploaded Source

Built Distribution

XGEE-0.3.7-py3-none-any.whl (5.2 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page