Update README.md

Add login web page.
This commit is contained in:
eatfishfish 2024-05-27 20:50:52 +08:00 committed by GitHub
parent 2395dda013
commit dea36727f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 10 deletions

View File

@ -14,13 +14,14 @@
(2) 在/data/continue.sh export 添加 <athena_host><upload_url> (2) 在/data/continue.sh export 添加 <athena_host><upload_url>
export ATHENA_HOST='ws://laolang.duckdns.org:7899' export ATHENA_HOST='ws://laolang.duckdns.org:7899'
export API_HOST='http://laolang.duckdns.org:7898' export API_HOST='http://laolang.duckdns.org:7898'
export MAPBOX_TOKEN='<自己注册>'
像这样: 像这样:
/-----/data/continue.sh file----------------- /-----/data/continue.sh file-----------------
#!/usr/bin/bash #!/usr/bin/bash
export ATHENA_HOST='ws://laolang.duckdns.org:7899' export ATHENA_HOST='ws://laolang.duckdns.org:7899'
export API_HOST='http://laolang.duckdns.org:7898' export API_HOST='http://laolang.duckdns.org:7898'
export MAPBOX_TOKEN='<自己注册也可以找我10元1个>' export MAPBOX_TOKEN='<自己注册>'
cd /data/openpilot cd /data/openpilot
exec ./launch_openpilot.sh exec ./launch_openpilot.sh
@ -31,10 +32,9 @@ exec ./launch_openpilot.sh
sudo reboot #重启你的c3/c3x sudo reboot #重启你的c3/c3x
#### 3. 下载文件和设置导航 #### 3. 下载文件和设置导航
(1) 浏览器中打开 http://laolang.duckdns.org:7898/op/DongleId/ (1) 浏览器中打开 http://<your_domain_name> 例如 [http://laolang.duckdns.org:7898](http://laolang.duckdns.org:7898/static/index.html)
DongleId替换成你的ID。 DongleId可以在你的c3/c3x设备上查看。
(2) 浏览器中打开 http://laolang.duckdns.org:7898/nav/DongleId/ (2) 进入设置导航地址。(仅支持IPhone地图和高德地图)
DongleId替换成你的ID。 设置导航地址。(仅支持IPhone地图和高德地图)
#### 4.Star me. Thank you #### 4.Star me. Thank you
@ -54,13 +54,14 @@ Launch opserver.exe on your windows server.
(2) In "/data/continue.sh" file, export <athena_host> and <upload_url>. (2) In "/data/continue.sh" file, export <athena_host> and <upload_url>.
export ATHENA_HOST='ws://laolang.duckdns.org:7899' export ATHENA_HOST='ws://laolang.duckdns.org:7899'
export API_HOST=' http://laolang.duckdns.org:7898 ' export API_HOST=' http://laolang.duckdns.org:7898 '
export MAPBOX_TOKEN='<register_on_mapbox_website.>'
like this: like this:
/-----/data/continue.sh file----------------- /-----/data/continue.sh file-----------------
#!/usr/bin/bash #!/usr/bin/bash
export ATHENA_HOST='ws://laolang.duckdns.org:7899' export ATHENA_HOST='ws://laolang.duckdns.org:7899'
export API_HOST='http://laolang.duckdns.org:7898' export API_HOST='http://laolang.duckdns.org:7898'
export MAPBOX_TOKEN='<自己注册.也可以找我10元1个.>' export MAPBOX_TOKEN='<register_on_mapbox_website.>'
cd /data/openpilot cd /data/openpilot
exec ./launch_openpilot.sh exec ./launch_openpilot.sh
@ -71,10 +72,8 @@ exec ./launch_openpilot.sh
sudo reboot #Restart your c3/c3x sudo reboot #Restart your c3/c3x
#### 3. Download and navigation #### 3. Download and navigation
(1) Open http://laolang.duckdns.org:7898/op/DongleId/ in your browser (1) Open http://<your_domain_name> (for example [http://laolang.duckdns.org:7898](http://laolang.duckdns.org:7898/static/index.html)) in your browser
and replace DongleId with your ID. DongleId can be viewed on your c3/c3x device.
(2) Open http://laolang.duckdns.org:7898/nav/DongleId/ in your browser (2) In the web page configure the navigation.(Only support IPhone map and AMap)
Configure navigation.(Only support IPhone map and AMap)
#### 4.Star me. Thank you #### 4.Star me. Thank you