Updated readme (#155)

This commit is contained in:
Arwid Thornström
2023-08-31 19:42:39 +02:00
committed by GitHub
parent 21ae1c4fb9
commit a51cbca616
+1 -2
View File
@@ -10,7 +10,7 @@ Third party systems like Unbox (Synergy) will use the `graphql.photowall.com` to
## Running queries on staging or production servers ## Running queries on staging or production servers
To tests staging or production servers its possible to run the login rest endpoint to get a Bearer access token. Check SSM for the stacks To tests staging or production servers its possible to run the login rest endpoint to get a Bearer access token. Check SSM for the stacks
`${EnvironmentName}/GRAPHQL_WEB_CLIENT_USERNAME` and `${EnvironmentName}/GRAPHQL_WEB_CLIENT_PASSWORD` and use those as Basic auth for the /login route. `${EnvironmentName}/GRAPHQL_WEB_CLIENT_USERNAME` and `${EnvironmentName}/GRAPHQL_WEB_CLIENT_PASSWORD` and use those as Basic auth for the /login route. To get a token from admin go to the route /auth/token. You can then use that token as a Bearer token in apps like Insomnia.
## Running it locally ## Running it locally
@@ -45,7 +45,6 @@ If you use Insomnia ask a colleague for the queries that can be exported/importe
Run `make publish-to-staging`. Please note that further commits on the same branch will not be updated automatically and the same command must be run again if changes are made. Run `make publish-to-staging`. Please note that further commits on the same branch will not be updated automatically and the same command must be run again if changes are made.
### Run prod-like container locally ### Run prod-like container locally
Run Run