Note:
- If you want to run only Core services which will connect to Ekstep backend for other dependent services like Knowledge Platform and Data Pipeline, follow the
...
- below steps for Core module only
- Once done, go to this page to get details on extra variables that need to be added for only Core service to work - Additional variables to run Core services only
Updating private repo with hosts and variables
https://github.com/project-sunbird/sunbird-devopsgit
clonecd sunbird-devops && git checkout tags/release-1.14.0 -b release-1.14.0
cp -rf sunbird-devops/private_repo .
cd private_repo
Folder Structure for the private directory which contains ansible hosts secrets and variables.
Code Block language bash title Folder Structure ~/Documents/projects/subird-devops/private_repo(DO-470 ✗) tree ansible ansible └── inventory └── dev ├── Core │ ├── common.yml │ ├── hosts │ └── secrets.yml ├── DataPipeline │ ├── common.yml │ ├── hosts │ └── secrets.yml └── KnowledgePlatform ├── common.yml ├── hosts └── secrets.yml 5 directories, 9 files
git init
git add .
git commit -m"Creating private files"
git remote add origin <private repo url>
git branch --set-upstream-to=origin/master master && git push --set-upstream origin master
update the variables and push it to upstream.
Updating variables and hosts
cd private_repo/ansible/inventory/dev/<module>/
update hosts common.yml secrets.yml
...