| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
Simply run the below command to start a backend server.
docker run -d --name lowcoder -p 3000:3000 -v "$PWD/stacks:/lowcoder-stacks" lowcoderorg/lowcoder-ceFor more information, view our docs
docker build -f ./deploy/docker/Dockerfile -t lowcoder-dev .docker run -d --name lowcoder-dev -p 3000:3000 -v "$PWD/stacks:/lowcoder-stacks" lowcoder-devcd clientyarn installLOWCODER_API_SERVICE_URL=http://localhost:3000 yarn startIn addition, before submitting a pull request, please make sure the following is done:
yarn testyarn workspace lowcoder <package name>Project initiation
yarn create Lowcoder-plugin <your plugin name>Go to the project root
cd my-pluginStart the development environment
yarn startAfter executing yarn start, the browser is automatically opened and you enter the component development environment. Please find more information in our docs
To export all the components, use src/index.ts, for example:
import HelloWorldComp from "./HelloWorldComp";
export default {
hello_world: HelloWorldComp,
};import HelloWorldComp from "./HelloWorldComp";
When you finish developing and testing the plugin, you can publish it into the npm registry. Login in to the npm registry locally, and then execute the following command:
yarn build --publishYou can check a code demo here: Code Demo on Github
npm install -g netlify-clinetlify logincd client
netlify linkInside the client/ folder, create or update netlify.toml:
[build]
base = "client"
command = "yarn workspace lowcoder build"
publish = "client/packages/lowcoder/build"This ensures Netlify uses the correct build and publish paths when building locally.
1️⃣ Navigate into the client folder:
cd client2️⃣ Run local build (with Netlify environment variables injected):
netlify build3️⃣ Deploy to production:
netlify deploy --prod --dir=packages/lowcoder/build| Back | FazBrowse Home | New Git URL |