Perl 6 - the future is here, just unevenly distributed

IRC log for #opentreeoflife, 2014-08-05

| Channels | #opentreeoflife index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
09:12 scrollback joined #opentreeoflife
13:54 kcranstn joined #opentreeoflife
13:56 towodo joined #opentreeoflife
14:54 towodo joined #opentreeoflife
15:03 kcranstn @jimallman - you there?
15:04 jimallman good morning!
15:04 kcranstn mornin!
15:04 kcranstn Just a heads up that I am (yet again) going to try and get the webapp running locally, so I may have some questions
15:05 jimallman cool. watch for problems from missing or outdated secure files (keys, etc) in your ~/.ssh/opentree
15:05 jimallman you might need to pull fresh ones from the live servers (i can provide scp snippets for this)
15:06 kcranstn ok, I’ll let you know
15:20 kcranstn ok, looks like I’ll need pull secure files
15:29 kcranstn I’d also like to check in a config.local
15:38 * jimallman just noticed your messages. digging up scp commands now..
16:01 jimallman kcranstn: i’ve started a wiki page for local server setup (at least for now): https://github.com/OpenTreeOfLife/opentree/wiki/Installing-a-local-test-server
16:01 kcranstn yay!
16:01 kcranstn I shall test your instructions
16:02 jimallman thanks! i have a standing request from towodo to make all secure files optional. i’m still not sure what you’ll be able to do without them, since this would disable tons of functionality…
16:03 jimallman kcranstn: drat! i’ll need to add -i option (points to opentree key) to these scp commands…
16:07 jimallman kcranstn: added -i and path to opentree.pem, worth a (re)try…
16:15 jimallman kcranstn: just fixed remote path to OPENTREEAPI_OAUTH_TOKEN
16:16 jimallman …and tested all three (working now)
17:43 kcranstn what’s the procedure for getting access to the server?
17:56 jimallman kcranstn: ssh/scp to devtree, you mean? this should use your existing key at ~/.ssh/opentree/opentree.pem  (if you don’t have this, please let me know)
17:57 kcranstn I don’t have this
18:05 jimallman joined #opentreeoflife
18:05 jimallman hm, are you able to connect to any of our servers via SSH? if so, i can share this with you securely.
18:07 jimallman (it’s also possible that you have the file under a different/older name? possibly  ec2-54-202-160-175.us-west-2.compute.amazonaws.com.pem
18:08 jimallman kcranstn: ah, that’s really the filename here. i’ve symlinked ec2-54-202-160-175.us-west-2.compute.amazonaws.com.pem as opentree.pem, the name we’ve used in our scripts
18:08 jimallman but at this point, renaming it makes more sense
18:17 kcranstn I haven’t had to ssh into the aws servers yet
18:17 kcranstn getting that set up...
18:20 kcranstn we really need to think about making installation possible without opentree secret files
18:23 jimallman joined #opentreeoflife
18:23 * jimallman keeps losing the connection, it’s flaky today..
18:24 jimallman quoting myself from earlier today: i have a standing request from towodo to make all secure files optional. i’m still not sure what you’ll be able to do without them, since this would disable tons of functionality… but i’ll look into it.
18:26 kcranstn two use cases: 1. me, today: I want to make a simple UI change and test locally before creating a pull request. 2. A new developer wants to test the application for his / her use.
18:27 jimallman gotcha. for now, i’m looking for an easy way to *safely* share this .pem file with you. thoughts?
18:28 kcranstn but I don’t even have ssh access set up
18:31 kcranstn I can send you my public key
18:31 kcranstn (how have we been giving access so far?)
18:33 jimallman i don’t recall how we shared the first key file (ssh password, perhaps?), but everything else since then has been via scp from established servers.
18:34 jimallman you’ll connect as user opentree, so the opentree.pem (by whatever name) gives you access
18:35 kcranstn I have access to norbert
18:35 jimallman but we need to share that first .pem file.. do you have a dropbox folder you could share with securely?
18:35 jimallman ah, norbert should work fine.
18:36 jimallman hm, i don’t have norbert in my .ssh/config
18:37 jimallman does it have other names? i can dig norbert.csail.mit.edu… it’s alongside ashby
18:39 jimallman (128.30.16.135) but i can’t ssh in as user opentree (using opentree.pem).. what userid works for you there?
18:42 jimallman kcranstn: if your login to norbert uses a password, we could share that by phone
18:49 kcranstn there is a ‘jim’ user on norbert
18:50 kcranstn this all seems unnecessarily complicated
18:51 jimallman security is hard. stop me if i’m being too paranoid.  hmm, jim user…
18:51 kcranstn I see the ec2….pem file in the jim dir
18:51 jimallman and i’m in. thanks for that.
18:52 kcranstn so… close...
18:54 jimallman ok, it  looks like ec2-54-202-160-175.us-west-2.compute.amazonaws.com.pem here is the same as our opentree.pem
18:55 jimallman scp that puppy from /Users/jima/.ssh/opentree and save it locally as ~/.ssh/opentree/opentree.pem
18:56 kcranstn that looks like an os x path
18:57 jimallman d’oh! right, shoudl be from /dsk/jim
18:57 jimallman more coffee!
18:58 kcranstn I don’t have access to that file
18:58 kcranstn permission denied
19:08 jimallman joined #opentreeoflife
19:09 jimallman kcranstn: i’ve added read permission for group neo4j (which i suspect you’re a member of). please try again
19:09 kcranstn score!
19:09 jimallman :D
19:10 jimallman now stash that as ~/.ssh/opentree/opentree.pem and the wiki snippets should work
19:57 jimallman_ joined #opentreeoflife
20:04 jimallman joined #opentreeoflife
20:17 kcranstn shouldn’t the /etc/hosts change come after the scp?
20:24 kcranstn ok, what about config?
20:25 jimallman absolutely right about the order of these steps. updating now...
20:28 jimallman walking through webapp/config vs. config.example now. will post suggested changes next.
20:28 kcranstn ok
20:46 jimallman kcranstn: config recipes added here: https://github.com/OpenTreeOfLife/opentree/wiki/Installing-a-local-test-server#create-local-webapp-config-files
20:50 jimallman the suggested settings assume that you’ll be using the normal devapi server, which is appropriate for your use case, but perhaps not all.
20:56 jimallman btw, i haven’t used the push/deployment scripts to build a local server, but that could also be a sensible approach.. i should try this.
21:45 jimallman i’ve added more steps to create a virtualenv, install dependencies, and run the local server: https://github.com/OpenTreeOfLife/opentree/wiki/Installing-a-local-test-server#create-python-virtual-environment-and-run-the-local-server

| Channels | #opentreeoflife index | Today | | Search | Google Search | Plain-Text | summary