Instructions on generating a secret token - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
DIR Log
DIR Files
DIR Refs
DIR README
---
DIR commit a98b17c8699b572fe5e568ce6e49f7f8c6ccb7b5
DIR parent 7748223da0e7688d2db2ef51c03b835ad21e25ff
HTML Author: Jay Scott <jay@beardyjay.co.uk>
Date: Mon, 5 Sep 2016 11:17:27 +0000
Instructions on generating a secret token
Diffstat:
M README.md | 4 ++++
M config/secrets.yml.example | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
---
DIR diff --git a/README.md b/README.md
@@ -64,6 +64,10 @@ Copy the example secrets configuration to secrets.yml:
$ cp config/secrets.yml.example config/secrets.yml
+Create a new secrect token:
+
+ $ rake secret > config/session.key
+
Modify config/database.yml to include the password set previously
Initialize the WarVOX database:
DIR diff --git a/config/secrets.yml.example b/config/secrets.yml.example
@@ -5,4 +5,4 @@ test:
secret_key_base: <%= WarVOX::Config.load_session_key %>
production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
+ secret_key_base: <%= WarVOX::Config.load_session_key %