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: pages/developer-docs/installation/install_sbbackend.md
+26-2Lines changed: 26 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -171,7 +171,7 @@ To run sunbird backend services, atleast you need to set the following environme
171
171
172
172
Here, you can find the remaining [Environment Variable Values](https://github.com/project-sunbird/sunbird-utils/blob/master/common-util/src/main/resources/externalresource.properties){:target="_blank"}
173
173
174
-
## Running Back-End Services Stack
174
+
## Configuring and running Back-End Services Stack
175
175
176
176
You can configure the Backend service by following these instructions:
177
177
@@ -191,11 +191,35 @@ Clone following repositories:
191
191
- sunbird-lms-mw
192
192
- sunbird-lms-service
193
193
194
-
And to run Application sunbird-lms-service execute the following command
194
+
## Configuring the (Akka) Actors
195
+
196
+
Sunbird architecture supports two Akka actor systems:
197
+
198
+
1. Normal ActorSystem
199
+
2. Background ActorSystem
200
+
201
+
And by default, both run on two different machines.
202
+
But to run these actor systems on single machine, you need to modify the we need to modify [resource.properties file]
203
+
For details [refer](https://github.com/project-sunbird/sunbird-utils/blob/master/common-util/src/main/resources/externalresource.properties){:target="_blank"}to repository.
204
+
205
+
In ordere to run both the actor systems on single machine follow these steps:
206
+
207
+
1. Open **externalresource.properties** file
208
+
2. Modify the following properties:
209
+
210
+
- background_actor_provider
211
+
- api_actor_provider
212
+
213
+
3. Set value of both properties as “local”
214
+
4. Run ```mvn clean install``` command to make build of each module
215
+
216
+
217
+
And to run Application sunbird-lms-service execute the following command
195
218
196
219
run mvn play2:run
197
220
198
221
## Testing the services
199
222
200
223
Run any API, e.g. create a user API and perform different actions on user using this [Postman collection](https://www.getpostman.com/collections/d314ef7df8fb02c9fa0f){:target="_blank"}
0 commit comments