To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / deploy / provision.d / 070-secret-token.sh @ 1612:2496b955f638

History | View | Annotate | Download (202 Bytes)

1
#!/bin/bash
2

    
3
set -e
4

    
5
# Create a session token if it hasn't already been created.
6

    
7
cd /var/www/code
8

    
9
if [ ! -f config/initializers/secret_token.rb ]; then
10
    bundle exec rake generate_secret_token
11
fi
12

    
13