Skip to content

Commit 651f078

Browse files
Update install_sbbackend.md
1 parent 75c1ec3 commit 651f078

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

pages/developer-docs/installation/install_sbbackend.md

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ To run sunbird backend services, atleast you need to set the following environme
171171

172172
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"}
173173

174-
## Running Back-End Services Stack
174+
## Configuring and running Back-End Services Stack
175175

176176
You can configure the Backend service by following these instructions:
177177

@@ -191,11 +191,35 @@ Clone following repositories:
191191
- sunbird-lms-mw
192192
- sunbird-lms-service
193193

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
195218

196219
run mvn play2:run
197220

198221
## Testing the services
199222

200223
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"}
201224

225+

0 commit comments

Comments
 (0)