Skip to content

Commit

Permalink
Merge pull request #6438 from dimagi/gh/cloud/docs
Browse files Browse the repository at this point in the history
Minor text changes to docs
  • Loading branch information
gherceg authored Nov 14, 2024
2 parents af5f0f1 + 1b103f8 commit f031ad6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
1 change: 0 additions & 1 deletion docs/source/installation/1-quick-monolith-install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Prerequisites
- A single Ubuntu 22.04 64-bit server
- Root user to SSH into the server
- git must be installed on the server. If not, please use https://github.com/git-guides/install-git#debianubuntu to install git
- We recommend using Python 3.10 with commcare-cloud. Follow instructions at https://commcare-cloud.readthedocs.io/en/latest/installation/2-manual-install.html#upgrade-to-python-3-10 to upgrade.

Installation Steps
------------------
Expand Down
4 changes: 2 additions & 2 deletions quick_monolith_install/bootstrap-env-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
until: "'ansible_{{result_external_interface.user_input}}' in hostvars[inventory_hostname]"
retries: 3
delay: 0
- name: 'Private inerface'
- name: 'Private interface'
pause:
prompt: |
Found multiple network interfaces.
Expand All @@ -42,7 +42,7 @@
IP Address: {{hostvars[inventory_hostname]['ansible_%s' | format(interface)]['ipv4']['address'] }}, Interface Name: {{ interface}}
{% endfor%}
Please enter the private interface name to be used from above three.
Please enter the private interface name to be used from the above options.
This will be used to set firewall rules
register: result_internal_interface
until: "result_internal_interface.user_input in ansible_interfaces"
Expand Down
18 changes: 9 additions & 9 deletions quick_monolith_install/cchq-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,15 @@ source ~/.commcare-cloud/load_config.sh
commcare-cloud $env_name update-local-known-hosts
commcare-cloud $env_name bootstrap-users -c local --quiet

printf "\nEverything is setup to install CommCareHQ now! Would you like to install CommCareHQ now?\n"
printf "Please see below a summary of what this script has setup so far!\n"
printf "1. Installed commcare-cloud, the tool to deploy and manage your CommCareHQ instance.\n"
printf "2. Users ansible and $ssh_username are created with SSH and sudo access.\n"
printf "3. A configuration directory created for your CommCareHQ environment at: $HOME/environments/$env_name.\n"
printf " This directory has all the configuration and the encrypted vault file containing passwords.\n"
printf " The vault file also has the sudo password for the ansible user under the key ansible_sudo_pass\n\n"
printf "\ncommcare-cloud setup is complete!\n\n"
printf "Here is a summary of what this script has setup:\n"
printf "1. Installed commcare-cloud, the tool to deploy and manage your CommCare HQ instance.\n"
printf "2. The users ansible and $ssh_username were created with SSH and sudo access.\n"
printf "3. A configuration directory was created for your CommCare HQ environment in $HOME/environments/$env_name.\n"
printf " In addition to configuration for your environment, this directory contains the encrypted vault file with passwords.\n"
printf " The vault file also has the sudo password for the ansible user under the key ansible_sudo_pass\n\n"

printf "You can now install CommCareHQ using below two commands.\n\n"
printf "You can now install CommCare HQ using below two commands.\n\n"
printf "source ~/.commcare-cloud/load_config.sh\n"
printf "commcare-cloud $env_name deploy-stack --skip-check --skip-tags=users -e 'CCHQ_IS_FRESH_INSTALL=1' -c local \n\n"
printf "Would you like the above command to be run now?\n"
Expand All @@ -100,7 +100,7 @@ else
exit
fi

printf "\nSuccessfully installed all the required services for CommCareHQ instance!\n"
printf "\nSuccessfully installed all the required services for CommCare HQ instance!\n"
printf "Prepareing the system for first time application (code) deploy\n"
commcare-cloud $env_name django-manage create_kafka_topics
commcare-cloud $env_name django-manage preindex_everything
Expand Down

0 comments on commit f031ad6

Please sign in to comment.