News for hackers. Stuff that matters.

nerva

Re:Building Large Flask Apps in the Real World on Wednesday February 17, 2016 @05:38PM (#11122110)
So what's a good (clean) way to create the frontend for Flask apps? I have a decent sized Flask app and I've created a mess with all the templates, static CSS/JS now.

What JS framework do you tie it to, if you use Flask to just create an API/manage sessions?

Not really what you're looking for but it's what sprung to mind:

George Orwell's Down and Out in Paris and London. He gives up his bourgeois lifestyle to live among the poor. I'm not sure he started anything at the end though. Besides himself, with a wider perspective of the world.

Looks pretty interesting. If I'm reading it correctly I'd still need to build two UIs? That's kind of what I was looking to avoid -- I'm assuming it's difficult. But the WebView based solutions I've seen always look kind of janky.

Ask HN: How do you manage startup processes/scripts on your servers?

So here's my situation:I have tmux running on my server, with ~5 windows, things like gunicorn, syncthing, custom scripts, etc. I really like to see whats being written to STDOUT and being able to kill the process/restart it manually if necessary.I open all these things manually right now, which if my server went down I'd be screwed hard until I noticed.So is there some way to open tmux on...

( Read More... | 3 comments | 2 points | on HN )