Ignore:
Timestamp:
Jul 5, 2014, 8:40:00 PM (11 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master
Children:
4c6a731
Parents:
7fb28a0
git-author:
Alex Dehnert <adehnert@…> (07/05/14 20:40:00)
git-committer:
Alex Dehnert <adehnert@…> (07/05/14 20:40:00)
Message:

Minor fixes to setup script and instructions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • remit/settings/init-dev.sh

    re24d22f rcabf7ac  
    77
    88echo Creating config files...
    9 secret=$(python -c "import random; ''.join([random.choice('abcdefghijklmnopqrstuvwxyz0123456789@#%&-_=+') for i in range(50)])")
     9secret=$(python -c "import random; print(''.join([random.choice('abcdefghijklmnopqrstuvwxyz0123456789@#%&-_=+') for i in range(50)]))")
    1010secret_re="s/^#SECRET_KEY = something$/SECRET_KEY = '$secret'/"
    1111sed -e "$secret_re" < "$settings/local.dev-template.py" > "$settings/local.py"
Note: See TracChangeset for help on using the changeset viewer.