diff --git a/README.md b/README.md index 49200bd..d966412 100644 --- a/README.md +++ b/README.md @@ -3,4 +3,8 @@ Uses Satnogs data to generate a map of all stations on Production and all sats currently observed. -Currently hosted at satnogs.minecraft16.ml \ No newline at end of file + +Currently hosted at satnogs.minecraft16.ml + + +The server itself is in the server folder and the views are in the view folder. \ No newline at end of file diff --git a/server/README.md b/server/README.md new file mode 100644 index 0000000..871af34 --- /dev/null +++ b/server/README.md @@ -0,0 +1,3 @@ +Basic server that gives all data used by all the existing views that exist. + +Place any folder from views into static and launch the server to be able to access that view of the satnogs network. \ No newline at end of file diff --git a/requirments.txt b/server/requirments.txt similarity index 100% rename from requirments.txt rename to server/requirments.txt diff --git a/satnogs.py b/server/satnogs.py similarity index 98% rename from satnogs.py rename to server/satnogs.py index 97c8adc..71cbc7a 100644 --- a/satnogs.py +++ b/server/satnogs.py @@ -153,11 +153,6 @@ def updateTLE(): - -@app.route("/") -def map_view(): - return render_template("map.html") - @app.route('/active_stations') def api_active_stations(): sations = [] diff --git a/satnogs_api_client.py b/server/satnogs_api_client.py similarity index 100% rename from satnogs_api_client.py rename to server/satnogs_api_client.py diff --git a/static/Worker.js b/views/map/Worker.js similarity index 100% rename from static/Worker.js rename to views/map/Worker.js diff --git a/static/active-station-marker.png b/views/map/active-station-marker.png similarity index 100% rename from static/active-station-marker.png rename to views/map/active-station-marker.png diff --git a/templates/map.html b/views/map/index.html.html similarity index 94% rename from templates/map.html rename to views/map/index.html.html index 87deac0..47950d7 100644 --- a/templates/map.html +++ b/views/map/index.html.html @@ -21,7 +21,7 @@
.
- +

@@ -35,7 +35,7 @@