Skip to content

Commit

Permalink
Shift location
Browse files Browse the repository at this point in the history
  • Loading branch information
DonRichards committed Apr 12, 2022
1 parent fc3789e commit 4aa3b96
Showing 1 changed file with 0 additions and 37 deletions.
37 changes: 0 additions & 37 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -452,43 +452,6 @@ local-install-profile: generate-secrets
initial_content:
curl -u admin:$(shell cat secrets/live/DRUPAL_DEFAULT_ACCOUNT_PASSWORD) -H "Content-Type: application/json" -d "@demo-data/homepage.json" https://${DOMAIN}/node?_format=json
curl -u admin:$(shell cat secrets/live/DRUPAL_DEFAULT_ACCOUNT_PASSWORD) -H "Content-Type: application/json" -d "@demo-data/browse-collections.json" https://${DOMAIN}/node?_format=json
.PHONY: kitchen_sink
.SILENT: kitchen_sink
## Turn on/expose all endpoints for demo/testing; CANTALOUPE, MATOMO, DRUPAL, MYSQL, POSTGRES, TRAEFIK DASHBOARD, FEDORA, BLAZEGRAPH, ACTIVEMQ, SOLR, except CODE SERVER. NOT FOR PRODUCTION!!!
kitchen_sink:
echo 'Exposing everything including the kitchen sink...'
ifeq ($(shell test -e docker-compose.yml && echo -n yes),yes)
$(MAKE) down
sed --in-place='' 's/EXPOSE_CANTALOUPE=false/EXPOSE_CANTALOUPE=true/g' .env
sed --in-place='' 's/EXPOSE_MATOMO=false/EXPOSE_MATOMO=true/g' .env
sed --in-place='' 's/EXPOSE_DRUPAL=false/EXPOSE_DRUPAL=true/g' .env
sed --in-place='' 's/EXPOSE_MYSQL=false/EXPOSE_MYSQL=true/g' .env
sed --in-place='' 's/EXPOSE_POSTGRES=false/EXPOSE_POSTGRES=true/g' .env
sed --in-place='' 's/EXPOSE_TRAEFIK_DASHBOARD=false/EXPOSE_TRAEFIK_DASHBOARD=true/g' .env
sed --in-place='' 's/EXPOSE_FEDORA=false/EXPOSE_FEDORA=true/g' .env
sed --in-place='' 's/EXPOSE_BLAZEGRAPH=false/EXPOSE_BLAZEGRAPH=true/g' .env
sed --in-place='' 's/EXPOSE_ACTIVEMQ=false/EXPOSE_ACTIVEMQ=true/g' .env
sed --in-place='' 's/EXPOSE_SOLR=false/EXPOSE_SOLR=true/g' .env
$(MAKE) build
$(MAKE) pull ENVIRONMENT=$(ENVIRONMENT)
$(MAKE) up
$(MAKE) hydrate ENVIRONMENT=$(ENVIRONMENT)
$(MAKE) reindex-solr ENVIRONMENT=$(ENVIRONMENT)
echo "Complete"
echo "You can now access the following endpoints:"
echo "Drupal: https://$(DOMAIN)"
echo "Traefik: http://$(DOMAIN):8080/dashboard/#/"
echo "Fedora: http://$(DOMAIN):8081/fcrepo/rest"
echo "Blazegraph: http://$(DOMAIN):8082/bigdata/#splash"
echo "Activemq: http://$(DOMAIN):8161"
echo "Solr: http://$(DOMAIN):8983/solr/#/"
echo "Cantaloupe: https://$(DOMAIN)/cantaloupe"
echo "Matomo: https://$(DOMAIN)/matomo/"
else
echo ""
echo "Problem: Run this after you've run one of the make commands to build isle-dc (up, demo, local, etc.). Exiting..."
endif


# Destroys everything beware!
.PHONY: clean
Expand Down

0 comments on commit 4aa3b96

Please sign in to comment.