From ca9def4f668a2c19b8841246033bf826ebfeddd3 Mon Sep 17 00:00:00 2001 From: jiangteng <1348746268@qq.com> Date: Wed, 17 Jan 2024 13:35:41 +0800 Subject: [PATCH] =?UTF-8?q?docs(readme):=20=E6=B7=BB=E5=8A=A0=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.en.md | 18 ++++++++++++++++-- README.md | 18 ++++++++++++++++-- 2 files changed, 32 insertions(+), 4 deletions(-) diff --git a/README.en.md b/README.en.md index 1813887..99f9c51 100644 --- a/README.en.md +++ b/README.en.md @@ -6,9 +6,23 @@ Satellite-track is a program for tracking satellite orbit, developed by cesium, vue and satelliteJS. It supports satellite and satellite constellation orbit display within the next 24 hours (performance considerations); Custom satellite orbit data (TLE) loading is also supported,TLE data is from celestrak; ## Preview -#### [【satellite-track】](https://jiangteng2019.github.io/satellite-track/) -#### [【Alternate address】](http://120.48.134.120:10181/satellite-track/) +#### [【GitHub Pages】](https://jiangteng2019.github.io/satellite-track/) +#### [【satellite-track】](http://120.48.134.120:10181/satellite-track/) +## Run +```sh +# Clone project +git clone https://github.com/jiangteng2019/satellite-track.git +# enter the project root directory +cd satellite-track +# Install dependencies +npm install +# startup project +npm run dev +# Compile and package +npm run build +``` +The compiled file cannot be opened using the browser's file protocol. You need a static resource server, such as nginx. ## Tips 1. The access speed of github pages is slow, and the TLE data and cesium data are large. Please wait patiently for the resources to load; diff --git a/README.md b/README.md index 46116aa..f85d049 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,23 @@ satellite-track 是一款追踪卫星轨道的程序,使用cesium、vue、satelliteJS开发。支持24小时之内(性能考虑)的卫星和卫星星座轨道显示;同时也支持自定义的卫星轨道数据(TLE)加载。数据来源于celestrak。 ## 预览 -#### [【satellite-track】](https://jiangteng2019.github.io/satellite-track/) -#### [【备用地址】](http://120.48.134.120:10181/satellite-track/) +#### [【GitHub Pages】](https://jiangteng2019.github.io/satellite-track/) +#### [【satellite-track】](http://120.48.134.120:10181/satellite-track/) +## 运行 +```sh +# 克隆项目工程 +git clone https://github.com/jiangteng2019/satellite-track.git +# 进入项目根目录 +cd satellite-track +# 安装依赖 +npm install +# 启动项目 +npm run dev +# 编译打包 +npm run build +``` +编译好的文件无法使用浏览器的file协议打开,你需要一个静态资源服务器,如 nginx。 ## 注意 1. github pages 访问速度慢,TLE数据与cesium数据较大,请耐心等待资源加载;