Problem deploying to Heroku

31 views
Skip to first unread message

Stefan Petson

unread,
Apr 24, 2014, 5:46:08 AM4/24/14
to wattdep...@googlegroups.com
Hi

I get "initializing repository", then "user closed connection. fatal:could not read fromremote repository"

What's with this?

Philip Johnson

unread,
Apr 24, 2014, 11:59:57 AM4/24/14
to wattdep...@googlegroups.com
Hi Stefan,

We'll take a look and let you know.

Philip

Carleton Moore

unread,
Apr 24, 2014, 3:05:48 PM4/24/14
to wattdep...@googlegroups.com
Hi Stefan,

Thanks for reporting the bug with the Heroku installation instructions.  I followed the instructions and found a problem with the "Deploy to Heroku" step.  The instructions said to use "git push heroku".  When I tried it I got the following message from Heroku:

    08:32 [~/CSDL/heroku/wattdepot] $ git push heroku 
    Identity added: /Users/carletonmoore/.ssh/id_rsa (/Users/carletonmoore/.ssh/id_rsa)
    Initializing repository, done. 
    No refs in common and none specified; doing nothing.
    Perhaps you should specify a branch such as 'master'.
    ^CKilled by signal 2.

I had to Control C to break the connection.

I then ran the command "git push heroku master" and that worked. I've updated the installation guide.

Mahalo,
Cam

Stefan Petson

unread,
Apr 25, 2014, 3:55:04 AM4/25/14
to wattdep...@googlegroups.com
Got it working after "ssh-add <my-ssh-key>"
And then "git push -u heroku master"

//Stefan P

Stefan Petson

unread,
Apr 25, 2014, 3:57:59 AM4/25/14
to wattdep...@googlegroups.com
And now I'm facing another problem, naturally ;)


I've got a test client and I get "server not found" exception.

(Also tested with a locally deployed server, but it won't let me post reading either)

// Stefan P

Carleton Moore

unread,
Apr 25, 2014, 6:49:01 PM4/25/14
to wattdep...@googlegroups.com
Did you define an Organization, user, depository, sensor, etc. ? Installing the server is the first step to getting WattDepot ready to receive measurements.

I will be working on a Getting Started Guide this weekend that explains how to install and set up a WattDepot server for an example organization.  
Reply all
Reply to author
Forward
0 new messages