diff --git a/README-zh_CN.md b/README-zh_CN.md new file mode 100644 index 0000000..6236e26 --- /dev/null +++ b/README-zh_CN.md @@ -0,0 +1,46 @@ +# lifeRestart + +![Discord](https://img.shields.io/discord/883382868427014255?color=%23FEE75C&label=Discord&logo=discord&logoColor=white&style=for-the-badge) + +[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/)。 diff --git a/README.md b/README.md index c8a3f71..b0b2587 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,46 @@ # lifeRestart -Game Life Restart -![Discord](https://img.shields.io/discord/883382868427014255?color=%23FEE75C&label=Discord&logo=discord&logoColor=white&style=for-the-badge) \ No newline at end of file +![Discord](https://img.shields.io/discord/883382868427014255?color=%23FEE75C&label=Discord&logo=discord&logoColor=white&style=for-the-badge) + +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/)。