Skip to content

华炎魔方项目模版,克隆后可开发自己的低代码应用。Project template for Steedos Platform 2.0

Notifications You must be signed in to change notification settings

steedos/steedos-project-template

Repository files navigation

Steedos DX Project Template

Steedos Developer Experience (DX) is a new way to manage and develop apps on the Steedos Low-Code Platform across their entire lifecycle. It brings together the best of the Low-Code Platform to enable source-driven development, team collaboration with governance, and new levels of agility for custom app development on Steedos.

Getting Started

Run Steedos Platform

First, you must run Steedos Platform. You can follow the Self Hosting Tutorial to deploy Steedos on a server, or launch a local Steedos Platform.

cd steedos-platform
docker-compose up

You can also refer to the instructions in the ./steedos-platform dir to run Steedos Platform with Node.js.

Register Admin Account

Upon its first launch, the system will prompt you to register an account and create an organization. This account will also become the administrator account for the organization.

Create an API Key

You can log in to the Steedos server with administrator credentials, go to the settings app, select the API Key menu, and create a new API Key.

Setup Environment Variable

Setup TRANSPORTER

The Steedos package operates using the Moleculer microservices framework, connecting microservices through the configuration of a unified Transporter.

Moleculer Transporter is an important module if you are running services on multiple nodes. Transporter communicates with other nodes. It transfers events, calls requests and processes responses …etc. If multiple instances of a service are running on different nodes then the requests will be load-balanced among them.

TRANSPORTER=redis://127.0.0.1:6379

:::tip Please make sure the TRANSPORTER you configured matches the Steedos server you wish to connect to and that the network is interconnected. :::

:::danger For running in a production environment, be sure to configure the Redis password. :::

Setup Metadata Server

Setup environment variables required for metadata synchronization.

steedos source:config
  • Metadata Server: METADATA_SERVER is the ROOT_URL of the Steedos server you wish to connect to.
  • Metadata API Key: METADATA_APIKEY is used to authenticate your identity.

This command writes environment variables into the .env.local file,

METADATA_SERVER=
METADATA_APIKEY=

You can also set the above environment variables directly without running the command.

Run Steedos Packages

Install Dependences

yarn

Run Packages

You can use the moleculer-runner command to launch the steedos packages.

yarn moleculer-runner steedos-packages/*/package.service.js --hot --repl

:::tip Please note that the Steedos DX project supports multi-package development, and the above command simultaneously launches all packages under the steedos-packages folder. :::

About

华炎魔方项目模版,克隆后可开发自己的低代码应用。Project template for Steedos Platform 2.0

Resources

Stars

Watchers

Forks

Packages

No packages published