mirror of
https://github.com/jiangteng2019/satellite-track.git
synced 2025-06-16 14:58:19 +00:00
docs(readme): 添加运行提示
This commit is contained in:
parent
bf5cebf4af
commit
ca9def4f66
18
README.en.md
18
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;
|
||||
|
18
README.md
18
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数据较大,请耐心等待资源加载;
|
||||
|
Loading…
Reference in New Issue
Block a user