These are chat archives for Sensorica/valuenetwork

18th
Jan 2016
Chris Troutner
@christroutner
Jan 18 2016 01:39
Hmm... ./manage.py shell_plus didn't seem the have the desired effect. Here is a screenshot of my terminal window:
blob
I tried './manage.py runserver 0.0.0.0:8000 &' to send it into the background, but the process gets killed when I close the terminal. I think it's part of the default security settings of the Droplets. I need to run that command as a service somehow.
Bob Haugen
@bhaugen
Jan 18 2016 07:27
oh, ok, I misunderstood. I thought you were running this stuff on your own development computer using the builtin Django server (runserver). Are you running this stuff on Digital Ocean? If so, you need to study this stuff: https://docs.djangoproject.com/en/1.4/howto/deployment/
Chris Troutner
@christroutner
Jan 18 2016 15:12
Thanks Bob. I'm looking into it.
There we go. I got it now. The server is continuing to run now even after I log out.
Lynn Foster
@fosterlynn
Jan 18 2016 15:21
Wondering..... Should we think about using a hosted instance of NRP? Seems like we would want that to test eventually? Along those lines, I'm wondering if we could use an existing instance so we don't have to shell out for a new one. I.e., could your stuff @christroutner run against an existing Django API without messing with the existing UI, which we would need to keep running? (Coming from a person who doesn't understand this layer very well.)
Oh, cool @christroutner
If you got it, then never mind.... :)
Bob Haugen
@bhaugen
Jan 18 2016 15:28
@christroutner wow! That's a milestone!
How did you get it to work? And can you POST now?
And as Lynn said on the side, you're another early bird!
Chris Troutner
@christroutner
Jan 18 2016 15:31
I can post so long as I have the CSRF hash. I was able to get the server to run using the command nohup, like 'nohup ./manage.py runserver 0.0.0.0:8000 &'. nohup disconnects the process from my terminal. Documention
I still need to figure out how to retrieve the hash remotely.
I still think I can do it by doing some sort of fetch within JavaScript. I just need to figure out how.
Maria Frangos
@mfrangos
Jan 18 2016 15:32
Hey everyone! Looking forward to our meeting at 11AM. I originally called this meeting so we can brainstorm about the Project page (features, use-cases we want to include, etc.). I’ll do a visual mock up of the page this week using the layout of the open source bootstrap theme.
Bob Haugen
@bhaugen
Jan 18 2016 15:32
Or @christroutner if javascript fetch doesn't work, we can serve your page from Django.
Chris Troutner
@christroutner
Jan 18 2016 15:33
That's true, @bhaugen. Let's keep that in mind as a backup plan.
Bob Haugen
@bhaugen
Jan 18 2016 15:33
Yup.
Chris Troutner
@christroutner
Jan 18 2016 15:33
Sounds great @mfrangos
Lynn Foster
@fosterlynn
Jan 18 2016 15:34
@mfrangos yup sounds good to me!
Chris Troutner
@christroutner
Jan 18 2016 15:36
If we're going to talk about the Project page, we'll probably want to reference those User Stories that Lynn compiled: https://github.com/Sensorica/valuenetwork/wiki/User-Stories
FYI, I'm going to be doing my front end development work in the valuenetwork/static/prototype directory. This is different from where I said I'd be developing before.
By putting my files in the static directory, it allows me to push my changes from my laptop to the GitHub repo, then pull them onto the server, and have Django serve them up.
Chris Troutner
@christroutner
Jan 18 2016 15:49
Sweet! I just realized that by serving up the pages this way, the page get's loaded with the CSRF cookie. That should solve our problem with POST requests.
Lynn Foster
@fosterlynn
Jan 18 2016 15:53
Nice !!
Maria Frangos
@mfrangos
Jan 18 2016 16:00
For the meeting, are we doing it in hangouts?
Lynn Foster
@fosterlynn
Jan 18 2016 16:01
Can't remember
Chris Troutner
@christroutner
Jan 18 2016 16:01
That's a good question. I've heard that Skype has issues with desktop sharing in groups unless people have the 'pro' (paid) versions.
Lynn Foster
@fosterlynn
Jan 18 2016 16:01
whatever you like
yes skype has issues with sharing
so hangout or jitsi
Chris Troutner
@christroutner
Jan 18 2016 16:01
I think hangouts will probably work best. I'm on a limited connection, so I'm not totally sure if I'll be able to broadcast video. (doubt I'll need to)
Lynn Foster
@fosterlynn
Jan 18 2016 16:02
maria you want to start a hangout, or want me to?
Maria Frangos
@mfrangos
Jan 18 2016 16:03
you can
Lynn Foster
@fosterlynn
Jan 18 2016 16:04
my hangout crashed, bob is still up, he'll invite me; did you guys get invites?
Chris Troutner
@christroutner
Jan 18 2016 16:06
I did, but mine crashed too. trying again...
I was able to connect, but I was the only one there. Can someone send me an invite again?
Bob Haugen
@bhaugen
Jan 18 2016 16:10
sent new invite
Let us know if that is helpful or not, and suggest improvements to make it more helpful.
As far as we know, if it ain't in that list, you can't get there directly from an Agent.
So that represents the easy possibilities for stuff you can display, that we could add to the API, for both a person and a project.
Bob Haugen
@bhaugen
Jan 18 2016 22:23
We can give you lots of query parameters etc.
And of course we can always add more info as needed.
P.S. we enjoyed the meeting today, looks like progress!