Last active
December 10, 2019 15:56
-
-
Save confiks/4a65e03b4e2e8b073002b531335e8cd8 to your computer and use it in GitHub Desktop.
Simple script to run an IRMA session on a default Glitch project with a public hostname
This file contains hidden or 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 method worked in March 2019. Please let me know if it fails to work for you | |
# | |
# 1. Go to: https://glitch.com/edit | |
# 2. In the lower left corner of the page, click on Tools -> Console | |
# 3. Paste the following command, and press enter: | |
# curl -sS https://gist.githubusercontent.com/confiks/4a65e03b4e2e8b073002b531335e8cd8/raw/glitch-howto.sh | bash | |
set -x | |
mkdir -p /app/bin | |
wget -O /app/bin/irma https://gitlab.science.ru.nl/irma/github-mirrors/irmago/-/jobs/artifacts/alpha/raw/artifacts/irma-alpha-linux-amd64?job=binaries | |
chmod +x /app/bin/irma | |
rm server.js | |
pkill -f "node server.js" | |
irma session --disclose pbdf.nijmegen.personalData.familyname --url "https://${PROJECT_NAME}.glitch.me" --port 3000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment