-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #873 from TIP-Global-Health/develop
Developments starting September 14, 2023
- Loading branch information
Showing
541 changed files
with
70,830 additions
and
11,001 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
## Description: Convert SVG to Elm. | ||
## Usage: elm:svg2elm | ||
## Example: "ddev elm:svg2elm" | ||
|
||
cd ../elm && ./svg2elm.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
## Description: Run Elm compile, watch for changes. | ||
## Usage: elm:watch | ||
## Example: "ddev elm:watch" | ||
|
||
cd ../elm && ./elm-watch.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
web_environment: | ||
- EHEZA_SITE=rwanda | ||
# - [email protected]:organization/project.git | ||
# - GITHUB_USERNAME= | ||
# - GITHUB_ACCESS_TOKEN= | ||
# - PANTHEON_NAME= | ||
hooks: | ||
post-import-db: | ||
# Sanitize email addresses | ||
|
@@ -26,6 +30,9 @@ hooks: | |
- exec-host: ddev nvm alias default 10.16.0 | ||
- exec-host: ddev client-install | ||
- exec: "cd .. && chmod +x ./scripts/build && ./scripts/build" | ||
- exec: "cd .. && cp hedley/modules/custom/hedley_migrate/csv/health_center_$EHEZA_SITE.csv hedley/modules/custom/hedley_migrate/csv/health_center.csv" | ||
- exec: "cd .. && cp hedley/modules/custom/hedley_migrate/csv/person_$EHEZA_SITE.csv hedley/modules/custom/hedley_migrate/csv/person.csv" | ||
- exec: "cd .. && cp hedley/modules/custom/hedley_migrate/csv/village_$EHEZA_SITE.csv hedley/modules/custom/hedley_migrate/csv/village.csv" | ||
# If DDEV creates server/www/, it is owned by root for some reasons, | ||
# so we have a placeholder .gitignore there, that ignores everything, but | ||
# the gitignore, during the install process, it gets altered, so we restore | ||
|
@@ -36,6 +43,7 @@ hooks: | |
- exec: drush fra -y | ||
- exec: composer update --lock -d sites/default/files/composer | ||
- exec: composer install -d sites/default/files/composer | ||
- exec: drush vset hedley_general_site_name $EHEZA_SITE | ||
# Run migration | ||
- exec: drush en -y hedley_migrate | ||
- exec: drush en -y migrate migrate_ui migrate_extras | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
ARG BASE_IMAGE | ||
FROM $BASE_IMAGE | ||
|
||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -o Dpkg::Options::="--force-confold" --no-install-recommends --no-install-suggests python2.7 build-essential | ||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -o Dpkg::Options::="--force-confold" --no-install-recommends --no-install-suggests inotify-tools python2.7 build-essential | ||
RUN update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1 | ||
# Elm - directly downloading the binary. | ||
RUN wget https://github.com/elm/compiler/releases/download/0.19.1/binary-for-linux-64-bit.gz | ||
|
@@ -13,7 +13,8 @@ RUN npm install -g gulp | |
# For Elm Unit tests | ||
RUN npm -g config set user root | ||
RUN npm install -g [email protected] | ||
|
||
# Install svg2elm. | ||
RUN npm install -g svg2elm | ||
RUN if [ "$(uname -m)" = "aarch64" ]; then \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y -o Dpkg::Options::="--force-confold" --no-install-recommends --no-install-suggests autoconf autotools-dev automake; \ | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.