These are chat archives for cltk/cltk_api

6th
Dec 2015
Luke's work can go on this server for now, too. When it's time to put them on separate servers, we can point it to, eg, app.cltk.org
Luke Hollis
@lukehollis
Dec 06 2015 08:12
awesome!
okay, I have node on the server
and mongo was already installed
i typically run meteor behind nginx
oh, one weird thing about meteor is you have to build it and then rsync the builds to the server where they need to be deployed
so... maybe let's talk about all this more tomorrow!
Would proxying gunicorn with nginx be feasible?
Or, wait, since it's on 5000, we won't need to--kk I'll get things set up
Kyle P. Johnson
@kylepjohnson
Dec 06 2015 08:16
Yes about pushing gunicorn through nginx. I can do that tomorrow! Or if you've taken to meteor first, I'll follow your lead on this. (I'm a little rusty on nginx)
Note that all ports are blocked via 'ufw' program, except 22 and 5000. You'll need to 'sudo ufw allow <port>' ... I think that's it
Luke Hollis
@lukehollis
Dec 06 2015 08:18
ah, good deal
okay to open port 80?
Kyle P. Johnson
@kylepjohnson
Dec 06 2015 08:19
Yes, please do. And 443 too
Luke Hollis
@lukehollis
Dec 06 2015 08:19
sounds good!
Kyle P. Johnson
@kylepjohnson
Dec 06 2015 08:20
Docs if you're interested, but should be obvious. It's a lifesaver of a program!
You may need to run something like 'ufw reload' but I don't think so. Good docs: https://www.digitalocean.com/community/tutorials/how-to-setup-a-firewall-with-ufw-on-an-ubuntu-and-debian-cloud-server
Be in touch with anything you need! Very cool stuff
Luke Hollis
@lukehollis
Dec 06 2015 08:22
ah, awesome, thanks!
things are very much still in a prototype phase
Luke Hollis
@lukehollis
Dec 06 2015 08:46
Hrmm... looks like I'm getting some weird errors
bcrypt_lib.node: invalid ELF header after an npm install...
Imma hit the hay for tonight and take another crack at it in the morning!
node process is running on the server via a start script at /etc/init/cltkfrontend.conf
nginx should be running too
have a good night!
Luke Hollis
@lukehollis
Dec 06 2015 18:13
Ripping my hair out with OSX. Will build on my laptop running Ubuntu to get around the errors with the invalid ELF header for bcrypt.
Kyle P. Johnson
@kylepjohnson
Dec 06 2015 18:19
Oh man, I wish I could help. Out at museum this morning, will be back online in a few hours.
In other news close to getting the macronizer in!
Luke Hollis
@lukehollis
Dec 06 2015 18:28
that's awesome! looking forward to seeing that and scansion in action!
Luke Hollis
@lukehollis
Dec 06 2015 20:38
Colors are from here, though I think they need some tweaks yet: https://www.materialpalette.com/cyan/brown
Kyle P. Johnson
@kylepjohnson
Dec 06 2015 20:42
Nice. My wife likes the brown/cyan. How would each appear?
Luke Hollis
@lukehollis
Dec 06 2015 22:09
Hrm.. something in this fashion?
index.png
I like brown and cyan too! :D
I didn't know what homepage content we wanted, so I just borrowed the frontend resources from segetes, and we can swap out as we create new homepage content