- 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 tolocalhost: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
Created
August 9, 2014 13:55
Test Dat on Heroku
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment