From 97b5e2086b63faff0406a41ae42b97cc4731718d Mon Sep 17 00:00:00 2001
From: louistiti
Date: Sun, 12 Dec 2021 15:50:25 +0800
Subject: [PATCH 1/3] docs(README): new getting started with CLI arrival
---
README.md | 32 ++++++++++----------------------
1 file changed, 10 insertions(+), 22 deletions(-)
diff --git a/README.md b/README.md
index 42b871f9..b135f092 100644
--- a/README.md
+++ b/README.md
@@ -29,10 +29,6 @@
Story
-
-
---
## 👋 Introduction
@@ -83,8 +79,6 @@ Gitpod will automatically setup an environment and run an instance for you.
- [Node.js](https://nodejs.org/) >= 16
- [npm](https://npmjs.com/) >= 8
-- [Python](https://www.python.org/downloads/) >= 3
-- [Pipenv](https://docs.pipenv.org) >= 2020.11.15
- Supported OSes: Linux, macOS and Windows
To install these prerequisites, you can follow the [How To section](https://docs.getleon.ai/how-to/) of the documentation.
@@ -92,28 +86,22 @@ To install these prerequisites, you can follow the [How To section](https://docs
### Installation
```sh
-# Clone the repository (stable branch)
-git clone -b master https://github.com/leon-ai/leon.git leon
-# OR download the latest release at: https://github.com/leon-ai/leon/releases/latest
+# Install the Leon CLI
+npm install -g http://cli-latest.getleon.ai
-# Go to the project root
-cd leon
-
-# Install
-npm install
+# Install Leon (stable branch)
+leon create birth
+# OR install from the develop branch: leon create birth --develop
```
### Usage
```sh
# Check the setup went well
-npm run check
-
-# Build
-npm run build
+leon check
# Run
-npm start
+leon start
# Go to http://localhost:1337
# Hooray! Leon is running
@@ -122,11 +110,11 @@ npm start
### Docker Installation
```sh
-# Build
-npm run docker:build
+# Install Leon
+leon create birth --docker
# Run
-npm run docker:run
+leon start
# Go to http://localhost:1337
# Hooray! Leon is running
From b4bb48def0199e32ecf70094c70afed8a6ed80c8 Mon Sep 17 00:00:00 2001
From: louistiti
Date: Sun, 12 Dec 2021 15:58:51 +0800
Subject: [PATCH 2/3] docs: append leon check alternative while reporting issue
---
.github/ISSUE_TEMPLATE/BUG.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/ISSUE_TEMPLATE/BUG.md b/.github/ISSUE_TEMPLATE/BUG.md
index 8a667e5e..9924dbf8 100644
--- a/.github/ISSUE_TEMPLATE/BUG.md
+++ b/.github/ISSUE_TEMPLATE/BUG.md
@@ -14,7 +14,7 @@ Please check if there is no similar issue before creating this one.
- Leon version:
- OS (or browser) version:
- Node.js version:
-- Complete "npm run check" output:
+- Complete "leon check" (or "npm run check") output:
- (if using Docker) Complete "npm run docker:check" output:
- (optional) Leon package version:
From bfc50154f06ad56011647a0bc31aa2ad096573ed Mon Sep 17 00:00:00 2001
From: louistiti
Date: Tue, 25 Jan 2022 21:48:20 +0800
Subject: [PATCH 3/3] docs(README): change new npm setup with npm registry
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index b135f092..b117845a 100644
--- a/README.md
+++ b/README.md
@@ -87,7 +87,7 @@ To install these prerequisites, you can follow the [How To section](https://docs
```sh
# Install the Leon CLI
-npm install -g http://cli-latest.getleon.ai
+npm install --global @leon-ai/cli
# Install Leon (stable branch)
leon create birth