-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add deployment docs (with ansible) #799
base: main
Are you sure you want to change the base?
Conversation
|
||
We support 3 deployment environments: stage, preview and production so one should first decide under which environment they want to set up the site in. | ||
|
||
You also need to have the necessary SSH keys set up in your machine in order to gain access to the deployment server. Kindly refer to [this](https://github.com/onaio/infrastructure/blob/35172d3e0986d4f55749a780122326340b40e35a/docs/tools/ansible_playbooks.md) doc on how to generate and sign the SSH keys. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@manutarus @bennsimon Do we give this access to the community? Our aim is to have demo or test ansible deployment scripts for the community to use.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dubdabasoduba @KipSigei who is the planned audience of this content, and in the worst case how restricted can their access be to Artifacts involved in the process described?
docs/deployment.md
Outdated
web_express_codebase_path: "{{ web_express_system_user_home }}/express" | ||
web_express_app_path: "{{ express_checkout_path }}" | ||
web_express_log_path: "/var/log/{{ express_app_name }}" | ||
web_pm2_express_service_name: opensrp_wellnesspass_web |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change this variable value to opensrp_web_stage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
addressed
e64b64d
to
1702840
Compare
Signed-off-by: Kipchirchir Sigei <arapgodsmack@gmail.com>
1702840
to
e243912
Compare
|
||
### Adding inventories for a new web instance | ||
|
||
To add inventories for an existing client, first clone the opensrp inventories repo [here](https://github.com/onaio/opensrp-inventories), then navigate to the host/client folder of choice. Also remember to clone the [playbooks](https://github.com/opensrp/playbooks/) repo in the same location as the opensrp inventories and follow the setup instructions as described [here](https://github.com/opensrp/playbooks#setup). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
worth considering that opensrp-inventories
is private,
|
||
We support 3 deployment environments: stage, preview and production so one should first decide under which environment they want to set up the site in. | ||
|
||
You also need to have the necessary SSH keys set up in your machine in order to gain access to the deployment server. Kindly refer to [this](https://github.com/onaio/infrastructure/blob/35172d3e0986d4f55749a780122326340b40e35a/docs/tools/ansible_playbooks.md) doc on how to generate and sign the SSH keys. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dubdabasoduba @KipSigei who is the planned audience of this content, and in the worst case how restricted can their access be to Artifacts involved in the process described?
Signed-off-by: Kipchirchir Sigei arapgodsmack@gmail.com