Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add deployment docs (with ansible) #799

wants to merge 1 commit into from

Conversation

KipSigei
Copy link
Contributor

Signed-off-by: Kipchirchir Sigei arapgodsmack@gmail.com


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.
Copy link
Member

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.

Copy link
Collaborator

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?

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
Copy link
Member

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addressed

docs/deployment.md Show resolved Hide resolved
Signed-off-by: Kipchirchir Sigei <arapgodsmack@gmail.com>

### 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).
Copy link
Collaborator

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.
Copy link
Collaborator

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?

@peterMuriuki peterMuriuki self-assigned this Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants