root/deployment-scripts/initdb.exp
| Revision 89, 323 bytes (checked in by 235, 2 years ago) |
|---|
| Line | |
|---|---|
| 1 | spawn python manage.py syncdb --settings=settings |
| 2 | |
| 3 | expect "Would you like to create one now? (yes/no):" |
| 4 | send "yes\r" |
| 5 | |
| 6 | expect "Username (Leave blank to use 'www-data'):" |
| 7 | send "admin\r" |
| 8 | |
| 9 | expect "E-mail address:" |
| 10 | send "qwe@qwe.com\r" |
| 11 | |
| 12 | expect "Password:" |
| 13 | send "12345\r" |
| 14 | |
| 15 | expect "Password (again):" |
| 16 | send "12345\r" |
| 17 | |
| 18 | expect eof |
| 19 | |
| 20 |
Note: See TracBrowser
for help on using the browser.

