Skip to content

Commit

Permalink
secret key generator in conf script ref #79
Browse files Browse the repository at this point in the history
  • Loading branch information
seeReadCode committed Apr 5, 2017
1 parent 5a30f8d commit f5c8106
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .env.production.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ DATABASE_NAME=
DATABASE_USERNAME=
DATABASE_PASSWORD=
DATABASE_HOST=

SECRET_KEY_BASE=
HOST=

MAIL_USER=
MAIL_PASSWORD=
MAIL_DOMAIN=
Expand Down
2 changes: 1 addition & 1 deletion bin/conf_creator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function populate {
echo "#Created ${TIMESTAMP}" > $FILE
while read -r NAME VALUE
do
if [ ${#NAME} = "SECRET_KEY_BASE" ]
if [ $NAME = "SECRET_KEY_BASE" ]
then
SECRET="$(bin/rake secret)"
echo "$NAME=$SECRET" >> $FILE
Expand Down

0 comments on commit f5c8106

Please sign in to comment.