Browse Source

Add Instructions for Webpanel Content

Add instructions on how to upgrade to the latest webpanel content.
pull/123/head
Justin Karimi 3 years ago
parent
commit
1608fda39e
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      WEBPANEL.md

+ 8
- 1
WEBPANEL.md View File

@@ -4,12 +4,19 @@
Last release includes a PHP webpanel that shows satellite passes for the day and a image grid for every received image. Last release includes a PHP webpanel that shows satellite passes for the day and a image grid for every received image.


## Migration ## Migration
There's a VERY experimental script that migrates the data format from the old way to the new web panel way.
If you're upgrading from a version of the software that does not yet run a webpanel, please use the following instructions first:
1. Install sqlite3: `sudo apt install sqlite3` 1. Install sqlite3: `sudo apt install sqlite3`
2. Run the migration process: `./migrate_data.sh` 2. Run the migration process: `./migrate_data.sh`


The script will construct the new folder structure as well as insert each pass to the database. The script DOES NOT delete ANY image from the old structure, so you may want to delete them after migration is done. The script will construct the new folder structure as well as insert each pass to the database. The script DOES NOT delete ANY image from the old structure, so you may want to delete them after migration is done.


Following the updates above, you can then migrate to the latest webpanel content using the following script:

1. `update_webpanel.sh`

The script will ensure the images and audio remain in-tact but will replace all other web content.
Any time you intend to get the latest content released, simply run this script and all new content from the repo will be copied to the web directory.

## Troubleshooting ## Troubleshooting


### Satellite pass dates are wrong! ### Satellite pass dates are wrong!


Loading…
Cancel
Save