Deploying Micro on LeanEngine Node.js environment.
Make sure you have installed lean-cli and have created an application at LeanCloud.
Then run the following command to bind the application:
git clone https://github.com/weakish/micro-getting-started your-project-name
cd your-project-name
lean switchRun the project locally:
npm ci
lean upThen you can visit the site locally at http://127.0.0.1:3000
Deploy the project to LeanEngine staging environment (if not available, it will deploy to production environment):
lean deploy