Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
medic-ci committed May 2, 2024
1 parent 3d42621 commit 38e5d7f
Show file tree
Hide file tree
Showing 468 changed files with 19,204 additions and 19,236 deletions.
54 changes: 27 additions & 27 deletions 404.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/concepts/access/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/concepts/care-guides/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/concepts/forms/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/concepts/hierarchy/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/concepts/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/concepts/interoperability/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/concepts/navigation/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/concepts/prerequisites/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/concepts/users/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/concepts/workflows/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/examples/anc/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/examples/contact-tracing/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/examples/covid-education/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/examples/covid-rdt-reference-app/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/examples/direct-to-client/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/examples/ebs/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/examples/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/examples/interoperability/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/examples/learning-care/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/examples/pharmacovigilance-reference-app/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/examples/phc-covid/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/examples/pih/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/examples/stock-monitoring/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/examples/supervisor-reference-app/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/examples/training/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/features/admin/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/features/contacts/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/features/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/features/integrations/android/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/features/integrations/custom/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/features/integrations/dhis2/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/features/integrations/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/features/integrations/openmrs/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/features/integrations/oppia/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/features/integrations/rapidpro/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/features/messaging/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/features/muting/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/features/reports/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/features/supervision/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/features/targets/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/features/tasks/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/features/training/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/features/uhc-mode/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/guides/android/branding/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/guides/android/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/guides/android/publishing/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/guides/data/analytics/environment-variables/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/guides/data/analytics/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions apps/guides/data/analytics/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The first time you run the commands from any of the sections below it will need
<h3 id="main-services">Main Services</h3>
<p>Running <a href="https://docs.communityhealthtoolkit.org/core/overview/cht-sync/">CHT Sync</a> in production includes DBT, PostgREST and Logstash services. Details about deploying these services can be found <a href="#create-and-configure-a-cht-sync-aws-ec2-instance">below</a>.</p>
<h3 id="external-services">External Services</h3>
<p>While CHT Sync can run against a stand alone CouchDB instance, it’s assumed you are configuring CHT Sync against an existing <a href="https://docs.communityhealthtoolkit.org/apps/guides/hosting/">production CHT Core instance</a>, which includes CouchDB.</p>
<p>While CHT Sync can run against a stand alone CouchDB instance, it’s assumed you are configuring CHT Sync against an existing <a href="https://docs.communityhealthtoolkit.org/hosting/">production CHT Core instance</a>, which includes CouchDB.</p>
<p>Along with CouchDB, these docs assume you have PostgreSQL deployed with an optional Data Visualization Tool, like <a href="https://superset.apache.org/">Apache Superset</a>.</p>
<h3 id="security">Security</h3>
<p>Production deployments require extra precautions around security and backup. These include, but are not limited to always:</p>
Expand All @@ -63,7 +63,7 @@ The first time you run the commands from any of the sections below it will need
<li>Ensure software is kept up to date to defend against security vulnerabilities.</li>
<li>Keeping good backups that are regularly tested.</li>
</ul>
<p>Also, see the general CHT Core <a href="https://docs.communityhealthtoolkit.org/apps/guides/hosting/requirements/#considerations">production hosting considerations</a>, all of which apply to CHT Sync production hosting as well.</p>
<p>Also, see the general CHT Core <a href="https://docs.communityhealthtoolkit.org/hosting/requirements/#considerations">production hosting considerations</a>, all of which apply to CHT Sync production hosting as well.</p>
<h2 id="create-and-configure-a-cht-sync-aws-ec2-instance">Create and configure a CHT Sync AWS EC2 Instance</h2>
<p>After meeting the <a href="https://docs.communityhealthtoolkit.org/apps/guides/data/analytics/introduction/#cht-sync-prerequisites">prerequisites</a>, install CHT Sync:</p>
<ol>
Expand Down
54 changes: 27 additions & 27 deletions apps/guides/data/analytics/introduction/index.html

Large diffs are not rendered by default.

66 changes: 33 additions & 33 deletions apps/guides/data/analytics/production/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/guides/data/analytics/setup/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/guides/data/csv-to-docs/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/guides/data/hydration/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/guides/data/impact-metrics/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/guides/data/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/guides/data/invalid-reports/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/guides/data/training-instance/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/guides/data/users-bulk-load/index.html

Large diffs are not rendered by default.

68 changes: 33 additions & 35 deletions apps/guides/database/couch2pg-oom-errors/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/guides/database/couchdb-authentication/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/guides/database/database-conflicts/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/guides/database/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/guides/database/muting_in_dashboards/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/guides/database/querying_apdex_telemetry/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/guides/database/rdbms-from-mac/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/guides/database/rdbms-from-windows/index.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions apps/guides/debugging/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/guides/debugging/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ RequestHeader set X-Forwarded-Proto "https"
&lt;/ol></description></item><item><title>Apps: Sharing 4.x Logs</title><link>https://docs.communityhealthtoolkit.org/apps/guides/debugging/sharing-4x-logs/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.communityhealthtoolkit.org/apps/guides/debugging/sharing-4x-logs/</guid><description>
&lt;p>CHT 4.x moves from a monolithic container MedicOS to discrete containers, each service hosting one service of the CHT. When troubleshooting an issue with your CHT instance, it can be hard to list each container, see it&amp;rsquo;s status, gather up logs for each container and then share all this information with Medic or other support staff. To ease this pain, a script was written which automates the process.&lt;/p>
&lt;h2 id="prerequisites">Prerequisites&lt;/h2>
&lt;p>This assumes you&amp;rsquo;re running CHT 4.x have access to the command line on the server where it&amp;rsquo;s running locally or via SSH. While the script will work with CHT 3.x instances, the amount of logs that a &lt;code>docker logs&lt;/code> call yields isn&amp;rsquo;t very helpful. To see more about CHT 3.x logs, see &lt;a href="https://docs.communityhealthtoolkit.org/apps/guides/hosting/3.x/ec2-setup-guide/#troubleshooting">&amp;ldquo;Investigating logs inside Medic OS&amp;rdquo;&lt;/a>&lt;/p>
&lt;p>This assumes you&amp;rsquo;re running CHT 4.x have access to the command line on the server where it&amp;rsquo;s running locally or via SSH. While the script will work with CHT 3.x instances, the amount of logs that a &lt;code>docker logs&lt;/code> call yields isn&amp;rsquo;t very helpful. To see more about CHT 3.x logs, see &lt;a href="https://docs.communityhealthtoolkit.org/hosting/3.x/ec2-setup-guide/#troubleshooting">&amp;ldquo;Investigating logs inside Medic OS&amp;rdquo;&lt;/a>&lt;/p>
&lt;p>This guide also assumes you have the &lt;a href="https://github.com/medic/cht-core/">CHT Core repo checked out&lt;/a> so that you have a copy of the &lt;code>compress_and_archive_docker_logs.sh&lt;/code> script. If you do not have it checked out, you can manually create a local copy with this &lt;code>curl&lt;/code> command:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-yaml" data-lang="yaml">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#000">curl -o compress_and_archive_docker_logs.sh https://raw.githubusercontent.com/medic/cht-core/master/scripts/compress_and_archive_docker_logs.sh&lt;/span>&lt;span style="color:#f8f8f8;text-decoration:underline">
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f8f8f8;text-decoration:underline">&lt;/span>&lt;span style="color:#000">chmod +x compress_and_archive_docker_logs.sh&lt;/span>&lt;span style="color:#f8f8f8;text-decoration:underline">
Expand Down
Loading

0 comments on commit 38e5d7f

Please sign in to comment.