aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2019-01-20 15:49:27 -0500
committerMitch Riedstra <mitch@riedstra.us>2019-01-20 15:49:27 -0500
commit20a548ceeee49df2ab3a36b2e9f399fe87bb173f (patch)
tree6bb6611d200f32f96ec13d736f76f1e8c73ec71b
parent7208b6eb9ae6d94a27cc819fd44bbba66ba06aa3 (diff)
downloaddispatch-tracker-django-2.tar.gz
dispatch-tracker-django-2.tar.xz
Modified the `insert_fake_data` example to include invoices and attachmentsdjango-2
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 6e11599..28d0572 100644
--- a/README.md
+++ b/README.md
@@ -26,6 +26,7 @@ etc it's as simple as:
pg_ctl -D pg_data initdb
pg_ctl -D pg_data -l pg_log start
echo create database $(id -un)\; | psql postgres
+echo create database dispatch | psql
```
Your user should be able to connect with just a simple `psql`
@@ -51,7 +52,8 @@ sed -i.bak -e"s/USER: postgres$/USER: $(id -un)" config.yml
./manage.py createsuperuser
# This will create some fake records if you wish
./manage.py insert_fake_data --companies 10 --users 10 \
- --loads 400 --start-date='-16w' --end-date='+16w'
+ --loads 400 --start-date='-16w' --end-date='+16w' --attachments=true \
+ --invoices=true
# Default is 2 weeks for start/end date, no
# defaults for any other options
# Run a local development server, listens to the world