mirror of
https://github.com/VickScarlet/lifeRestart.git
synced 2026-03-25 08:34:16 +08:00
docs: update README.md
This commit is contained in:
46
README-zh_CN.md
Normal file
46
README-zh_CN.md
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
# lifeRestart
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
[English](./README.md) | 简体中文
|
||||||
|
|
||||||
|
## 简介
|
||||||
|
|
||||||
|
- Game Life Restart
|
||||||
|
|
||||||
|
## 使用
|
||||||
|
|
||||||
|
1. 下载项目代码。
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone https://github.com/VickScarlet/lifeRestart.git my-project
|
||||||
|
cd my-project
|
||||||
|
```
|
||||||
|
|
||||||
|
2. 进入目录安装依赖。
|
||||||
|
|
||||||
|
```bash
|
||||||
|
yarn install
|
||||||
|
```
|
||||||
|
|
||||||
|
或者
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm install
|
||||||
|
```
|
||||||
|
|
||||||
|
3. 启动本地服务器。
|
||||||
|
|
||||||
|
```bash
|
||||||
|
yarn dev
|
||||||
|
```
|
||||||
|
|
||||||
|
或者
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm run dev
|
||||||
|
```
|
||||||
|
|
||||||
|
4. 启动完成后会自动打开浏览器访问 [http://localhost:8081/view/index.html](http://localhost:8081/view/index.html)。
|
||||||
|
|
||||||
|
> 更多信息请参考 [官网文档](https://liferestart.syaro.io/)。
|
||||||
44
README.md
44
README.md
@@ -1,4 +1,46 @@
|
|||||||
# lifeRestart
|
# lifeRestart
|
||||||
Game Life Restart
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
English | [简体中文](./README-zh_CN.md)
|
||||||
|
|
||||||
|
## Introduction
|
||||||
|
|
||||||
|
- Game Life Restart
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
1. Clone project code.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone git@github.com:VickScarlet/lifeRestart.git my-project
|
||||||
|
cd my-project
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Installation dependence.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
yarn install
|
||||||
|
```
|
||||||
|
|
||||||
|
Or
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm install
|
||||||
|
```
|
||||||
|
|
||||||
|
3. Start local server.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
yarn dev
|
||||||
|
```
|
||||||
|
|
||||||
|
Or
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm run dev
|
||||||
|
```
|
||||||
|
|
||||||
|
4. After the startup is complete, will automatically open a browser and visit [http://localhost:8081/view/index.html](http://localhost:8081/view/index.html).
|
||||||
|
|
||||||
|
> More instructions at [documentation](https://liferestart.syaro.io/)。
|
||||||
|
|||||||
Reference in New Issue
Block a user