Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Commit

Permalink
Fix secret key generation and git init
Browse files Browse the repository at this point in the history
  • Loading branch information
Wtower committed Dec 13, 2016
1 parent 563d34e commit 2ecd2b3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,18 @@ The generator prompts for the following information:

- New Relic license key. Used in `newrelic.ini`.

After generation
----------------

Usually perform the following actions:

```
vf new -p python3 VIRTUALENV
pip install -U pip setuptools wheel
pip install -U -r requirements.txt
python manage.py migrate
```

License
-------

Expand Down
3 changes: 2 additions & 1 deletion generators/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ module.exports = yeoman.Base.extend({
deployHost: this.props.deployHost,
allowedHost: this.props.allowedHost,
newRelicLicense: this.props.newRelicLicense,
secretKey: randomString.generate({length: 50, capitalization: 'lowercase'}),
secretKey: randomString.generate({length: 50, charset: 'abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)'}),
pass: randomString.generate(12),
today: today,
date: [today.getDate(), today.getMonth() + 1, today.getFullYear()].join('/'),
Expand Down Expand Up @@ -160,5 +160,6 @@ module.exports = yeoman.Base.extend({

install: function () {
this.installDependencies();
this.spawnCommand('git', ['init']);
}
});

0 comments on commit 2ecd2b3

Please sign in to comment.