Skip to content
Snippets Groups Projects
Commit b85f52a0 authored by Nico Vermaas's avatar Nico Vermaas
Browse files

Merge branch 'improve_alta_algorithm' into 'main'

add documentation

See merge request !4
parents 11a83913 5c3ff8e8
Branches
No related tags found
1 merge request!4add documentation
Pipeline #35446 passed
# 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:
```
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 -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"
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment