From 5c3ff8e8f4bbabf67bd94d7b664c0ed1bf9ac795 Mon Sep 17 00:00:00 2001
From: Nico Vermaas <vermaas@astron.nl>
Date: Tue, 6 Sep 2022 09:12:15 +0200
Subject: [PATCH] add documentation

---
 README.md | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 97d8298..3f09639 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,10 @@
 # ADEX-BACKEND-FASTAPI
 
+## Development/Test
 
-## Development
+  * Documentation : https://support.astron.nl/confluence/display/SDCP/ADEX+backend
+  * Deployment Diagram: https://app.diagrams.net/#G10-LtvKbhC-yzjVoTIg1bnr1wBKsA4s-V
 
-Deployment Diagram: https://app.diagrams.net/#G10-LtvKbhC-yzjVoTIg1bnr1wBKsA4s-V
 
 ### localhost (laptop)
   * http://localhost:8000/adex-fastapi/skyviews/
@@ -14,6 +15,7 @@ Deployment Diagram: https://app.diagrams.net/#G10-LtvKbhC-yzjVoTIg1bnr1wBKsA4s-V
   * https://sdc-dev.astron.nl/adex-fastapi/skyviews_rectangle/?ra_min=40&ra_max=50&dec_min=25&dec_max=35&limit=1000
   
 ### SURF Research Cloud (dev environment)
+  * frontend app for testing: http://145.38.187.31/aladin-testbed/
   * http://145.38.187.31/adex-fastapi/skyviews/
   * http://145.38.187.31/adex-fastapi/skyviews_rectangle/?ra_min=40&ra_max=50&dec_min=25&dec_max=35&limit=1000
     
@@ -28,7 +30,16 @@ manually drop the skyviews table
 
 then load the data like this:
 
+On sdc-dev:
+```
+docker exec -it adex-postgres psql -U postgres -d adex_cache -c "DROP TABLE skyviews"
+docker exec -it adex-postgres psql -U postgres -d adex_cache -f /shared/sql/adex_cache.sql
+```
+Test: https://sdc-dev.astron.nl/adex-fastapi/skyviews/
+
+On SURF:
 ```
 sudo docker exec -it Postgres14 psql -U postgres -d adex_cache -c "DROP TABLE skyviews"
-  docker exec -it adex-postgres psql -U postgres -d adex_cache -f /shared/sql/adex_cache.sql
+sudo docker exec -it Postgres14 psql -U postgres -d adex_cache -f /shared/adex_cache.sql
 ```
+Test: http://145.38.187.31/adex-fastapi/skyviews/
\ No newline at end of file
-- 
GitLab