Skip to content

Automates the process of generating and adding JWT keys to .env#220

Open
lumodon wants to merge 1 commit intoLearnersGuild:masterfrom
lumodon:jwt-automation
Open

Automates the process of generating and adding JWT keys to .env#220
lumodon wants to merge 1 commit intoLearnersGuild:masterfrom
lumodon:jwt-automation

Conversation

@lumodon
Copy link
Contributor

@lumodon lumodon commented Sep 26, 2017

Changes readme to reflect this new method

Fixes #219

Overview

By feedback of the onboarding members, too many errors happen around removing the linebreaks and manually replacing them with \n characters, so now we just run a script that puts both keys into the .env.development file

Data Model / DB Schema Changes

N/A

Environment / Configuration Changes

N/A

Notes

  1. Perhaps the name of the script could be better
  2. Perhaps the script should be placed in a /bin/ folder

Changes readme to reflect this new method
echo $PARSED_PUBLIC >> ./.env.development

rm ./public-key.pem
rm ./private-key.pem No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow. this is totally a bash script!

@jaredatron
Copy link
Contributor

@prattsj what do you think about this script?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants