Skip to content

gsi333/2503

 
 

Repository files navigation

to use in background

  • buy a cheap server at ramnode, start from a flesh server
  • install nginx -> apt-get install nginx, notice to stop apache if you have
  • install git -> apt-get install git
  • default nginx folder is /var/www/html, cd into this folder
  • git clone 2503 project into /var/www/html

Test

  • make sure sim inserted

  • set sn $setsn xxxxxxxxx (12 numbers)

  • set ip $setip $setip 167.88.114.101 (iot2.electrodragon.com)

  • run test command python /var/www/html/2503/main.py

  • find html file in gps folder -> https://iot2.electrodragon.com/2503/gps/g-170004016238.html

  • to run in server background -> nohup python /var/www/html/2503/main.py &

  • Notice the SN may only use the last 11 numbers

Resource

TODOs

  • add save data

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 87.8%
  • CSS 9.7%
  • HTML 2.5%