You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,14 +30,14 @@ The app server provides REST endpoints to interact with the entities and data. F
30
30
31
31
3.2. To use as an embedded in-memory database instance (Not recommended for production deployments), set the `spring.datasource.url=jdbc:hsqldb:mem:/appserver` in `application-<profile>.properties`. Also, change the properties in `src/main/resources/application.properties` to dev or prod according to your requirements.
32
32
33
-
4. Build the project using gradle wrapper and run using spring boot. Note: This project uses JAVA 11, please download and install it before building.
33
+
4. Build the project using gradle wrapper and run using spring boot. Note: This project uses JAVA 17, please download and install it before building.
34
34
35
35
5. The build will need to create a logs directory. The default path is `/usr/local/var/lib/radar/appserver/logs`. Either create the directory there using `sudo mkdir -p /usr/local/var/lib/radar/appserver/logs` followed by `sudo chown $USER /usr/local/var/lib/radar/appserver/logs` or change logs file directory in `src/main/resources/logback-spring.xml` to local log directory like `<property name="LOGS" value="logs" />`
36
36
37
37
6. The appserver uses the Admin SDK to communicate with the Firebase Cloud Messaging. To
38
38
configure this, please look at the [FCM section](#fcm).
39
39
40
-
7. To run the build on mac or linux, run the below -
40
+
7. To run the build, run the command below -
41
41
```bash
42
42
./gradlew bootRun
43
43
```
@@ -141,13 +141,12 @@ The same result as stated in [Getting Started](#getting-started) can be achieved
141
141
## FCM
142
142
143
143
### AdminSDK
144
-
To configure AdminSDK, follow the official Firebase [documentation](https://firebase.google.
145
-
com/docs/admin/setup#initialize-sdk) till you setup the environment variable (`GOOGLE_APPLICATION_CREDENTIALS`). In the properties
144
+
To configure AdminSDK, follow the official Firebase [documentation](https://firebase.google.com/docs/admin/setup#initialize-sdk) till you setup the environment variable (`GOOGLE_APPLICATION_CREDENTIALS`). In the properties
146
145
file, you would need to set `fcmserver.fcmsender` to `org.radarbase.fcm.downstream.AdminSdkFcmSender`.
147
146
148
147
149
148
## Docker/ Docker Compose
150
-
The AppServer is also available as a docker container. It's[Dockerfile](/Dockerfile) is provided with the project. It can be run as follows -
149
+
The AppServer is also available as a docker container. Its[Dockerfile](/Dockerfile) is provided with the project. It can be run as follows -
151
150
152
151
```shell
153
152
docker run -v /logs/:/var/log/radar/appserver/ \
@@ -167,7 +166,7 @@ The same can be achieved by running as a docker-compose service. Just specify th
@@ -378,7 +377,7 @@ security.radar.managementportal.url=<your management portal base url>
378
377
This will instantiate all the classes needed for security using the management portal. Per endpoint level auth is controlled using Pre and Post annotations for each permission.
379
378
All the classes are located in [/src/main/java/org/radarbase/appserver/auth/managementportal](/src/main/java/org/radarbase/appserver/auth/managementportal).
380
379
381
-
You can provide the Management Portal specific config in [radar_is.yml](radar_is.yml) file providing the public key endpoint and the resource name. The path to this file should be specified in the env variable `RADAR_IS_CONFIG_LOCATION`.
380
+
You can provide the Management Portal specific config in [radar-is.yml](radar-is.yml) file providing the public key endpoint and the resource name. The path to this file should be specified in the env variable `RADAR_IS_CONFIG_LOCATION`.
382
381
383
382
### Management Portal Clients
384
383
If security is enabled, please also make sure that the correct resources and scope are set in the OAuth Client configurations in Management Portal.
0 commit comments