Updated README.md

This commit is contained in:
thomashii 2021-03-13 10:50:14 +08:00
parent 39fe2fd89e
commit 2217804391

View file

@ -51,25 +51,21 @@ Deprecated features:
New features: New features:
- To be decided - To be decided
To install Angel CLI, run the following command after installing dart sdk
`dart pub global activate --source git https://github.com/dukefirehawk/angel/packages/cli`
To use local development version of Angel CLI, run the following command after installing dart sdk
`dart pub global activate --source path ./packages/cli`
## Installation & Setup ## Installation & Setup
Once you have [Dart](https://www.dartlang.org/) installed, bootstrapping a project is as simple as running a few shell commands: Once you have [Dart](https://www.dartlang.org/) installed, bootstrapping a project is as simple as running a few shell commands:
Install the [Angel CLI](https://github.com/angel-dart/cli): Install the [Angel CLI](https://github.com/dukefirehawk/cli):
```bash ```bash
pub global activate angel_cli `pub global activate --source git https://github.com/dukefirehawk/cli.git`
``` ```
Install local development version of Angel CLI
`pub global activate --source path ./packages/cli`
Bootstrap a project: Bootstrap a project:
```bash ```bash
@ -84,12 +80,6 @@ dart --observe bin/dev.dart
Next, check out the [detailed documentation](https://docs.angel-dart.dev/v/2.x) to learn to flesh out your project. Next, check out the [detailed documentation](https://docs.angel-dart.dev/v/2.x) to learn to flesh out your project.
## Development
* Install development version of Angel CLI
`dart pub global activate --source path ./packages/cli`
`dart pub global activate --source git https://github.com/dukefirehawk/angel/packages/cli`
## Examples and Documentation ## Examples and Documentation
Visit the [documentation](https://docs.angel-dart.dev/v/2.x) Visit the [documentation](https://docs.angel-dart.dev/v/2.x)
for dozens of guides and resources, including video tutorials, for dozens of guides and resources, including video tutorials,