Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Kyle P. Johnson
    @kylepjohnson
    In my past experience writing an API, the chief struggle is hammering out the ugly details surrounding the URL + data objects. If we can do this well, I think we'll set up for success regardless
    Luke Hollis
    @lukehollis
    yeah! I think that's the truth!
    Luke Hollis
    @lukehollis
    Any thoughts on where the converter for Scansion information to HTML might go?
    (which repo it might fit into)
    need to span syllables to display scansion info
    Luke Hollis
    @lukehollis
    Should a chunk correspond to its own unit of text? (e.g. <p>?)
    Kyle P. Johnson
    @kylepjohnson
    Hey Luke! Thoughts about scansion info: How long will this take to run on the entire corpus? If fast, then we can do it dynamically each time the corpus is loaded. If slow, then I am good with adding it to its respective Perseus dir. (Note: the JSON cleaned up JSON that I am adding to the cltk_api repo will soon be moved into either the greek or latin Perseus dir. But don't worry, I will take care of this.)
    That's a good question about chunking. For book-line, this is easy: each line will always be wrapped in a <p> tag. For book-chapter-section and book-chapter, I believe we will be following Perseus's website to wrap chapters in <p> tags. In addition to this, I retained newline markup \n when it occurs w/in a chapter (ie, this can happen for a very long chapter that some editor decided to break into two to improve reading.)
    Kyle P. Johnson
    @kylepjohnson
    Am I understanding your right on this? If so, sound reasonable?
    Luke Hollis
    @lukehollis
    Ahhh, yes that makes a lot of sense! Thanks!
    Re: scansion, once we have the scansion information from Tyler's work, we could try running it dynamically if you think it'd be easier!
    I think it'd be time consuming enough that at some point we would want to save the result in mongo somehow
    Luke Hollis
    @lukehollis
    Oh, hey, are you thinking we should snag a domain or use a subdomain of cltk?
    either's totally fine with me
    (just udpating the domains on our fonts--don't need to know right away)
    cltk.org and *.cltk.org can now use the following fonts by linking this: <link type="text/css" rel="stylesheet" href="http://fast.fonts.net/cssapi/6136222a-0003-4a3f-a34f-e3ed83632dd3.css"/>
    font-family:'Proxima N W01 Thin Reg';
    font-family:'Proxima N W01 Light';
    font-family:'Proxima N W01 Xbold';
    font-family:'Proxima N W01 Black';
    font-family:'Museo Sans W03_100';
    font-family:'Proxima Nova A W07 Thin';
    font-family:'ProximaNW01-AltThinReg';
    Kyle P. Johnson
    @kylepjohnson
    Low does api.cltk.org sound? I can set this up later today
    How* does
    Luke Hollis
    @lukehollis
    Sounds great! What are your thoughts for a domain/subdomain for the frontend meteor app?
    Kyle P. Johnson
    @kylepjohnson
    Even better question! app.cltk.org ? I want to hear your ideas!
    Luke Hollis
    @lukehollis
    Yeah sounds good
    I'm all for it
    Kyle P. Johnson
    @kylepjohnson
    Rad. In due time my hope is that the cltk.org landing page will be your app :)
    Luke Hollis
    @lukehollis
    Oh okay wow that sounds great
    Luke Hollis
    @lukehollis
    I'm hoping to have something to standup tonight--would it be alright to put it up on the digital ocean server?
    can put it behind basic auth if that'd be better for now!
    Kyle P. Johnson
    @kylepjohnson
    Wow that's so c
    ... Exciting. I don't think we need auth, but your choice. Sure put it on the same server for now. I will research how we might serve these later
    Luke Hollis
    @lukehollis
    awesome--will do--I think we just need mongo and node 10.40
    Luke Hollis
    @lukehollis
    uggg all the art for "classics" is classic cars!
    Kyle P. Johnson
    @kylepjohnson
    Ha I love that.
    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
    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
    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
    ah, good deal
    okay to open port 80?
    Kyle P. Johnson
    @kylepjohnson
    Yes, please do. And 443 too
    Luke Hollis
    @lukehollis
    sounds good!
    Kyle P. Johnson
    @kylepjohnson
    Docs if you're interested, but should be obvious. It's a lifesaver of a program!