Skip to content

Commit

Permalink
feat: create and copy secrets file into lando container
Browse files Browse the repository at this point in the history
  • Loading branch information
vinmassaro committed Sep 7, 2023
1 parent 693b5ac commit 1fe4dc4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/local/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ fi
# Start lando and create containers.
lando start

# Generate secrets file and copy it into the appserver container.
terminus plugin:install pantheon-systems/terminus-secrets-manager-plugin
terminus secret:site:local-generate yalesites-platform --filepath=/tmp/secrets.json
appserver=$(docker ps --format "{{.Names}}" | grep yalesitesplatform_appserver | grep -v nginx)
docker cp /tmp/secrets.json "$appserver":/tmp

# Install packages and install Drupal using yalesites_profile.
npm install
npm run build-with-install
Expand Down

0 comments on commit 1fe4dc4

Please sign in to comment.