Skip to content

Commit 052ef9d

Browse files
authored
Merge pull request #1 from autolab/init-scripts
Add init script
2 parents 0d73b20 + 4f1cada commit 052ef9d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# replace the Devise secret key with a random string
2+
sed -i"" "s/<YOUR-SECRET-KEY>/`LC_ALL=C tr -dc 'A-Za-z0-9' </dev/urandom | head -c 128`/g" Autolab/docker/devise.rb

0 commit comments

Comments
 (0)