Skip to content

Instantly share code, notes, and snippets.

@saylestyler
Created May 31, 2019 19:12
Show Gist options
  • Save saylestyler/6e6760eceab725c71bc9621312c88d36 to your computer and use it in GitHub Desktop.
Save saylestyler/6e6760eceab725c71bc9621312c88d36 to your computer and use it in GitHub Desktop.
generate a postgresql db with N rows of randomized, structured data
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py &&
python get-pip.py &&
pip install fake2db &&
cd $HOME &&
fake2db --rows 1500 --db postgresql --name test_db &&
psql test_db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment