Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Test Dat on Heroku
  • Go to https://github.com/bmpvieira/heroku-dat-template and click Deploy;
  • Choose a name (like test-dat);
  • Wait for deploy to finish and click "View it" (http://test-dat.herokuapp.com);
  • Click import -> paste JSON -> Copy/Paste example;
  • Do dat clone http://test-dat.herokuapp.com and cd into folder;
  • Do dat serve and go to localhost:6461;
  • PROBLEM 1: No data;
  • Kill, do echo '{"hello":"world"}'|dat import --json and serve again;
  • Now there's some data, kill and do dat push http://test-dat.herokuapp.com
  • PROBLEM 2: Nothing changed on Heroku
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.