From 20a548ceeee49df2ab3a36b2e9f399fe87bb173f Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Sun, 20 Jan 2019 15:49:27 -0500 Subject: Modified the `insert_fake_data` example to include invoices and attachments --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README.md') 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 -- cgit v1.2.3