Guest68052 has quit [Quit: Connection reset by angry wife.]
xet7 has quit [Quit: Leaving]
xet7 has joined #sandstorm
afuentes has joined #sandstorm
TC02 has quit [Ping timeout: 264 seconds]
yeehi has joined #sandstorm
yeehi_ has quit [Ping timeout: 258 seconds]
yeehi_ has joined #sandstorm
yeehi has quit [Ping timeout: 268 seconds]
Telesight has joined #sandstorm
yeehi has joined #sandstorm
yeehi_ has quit [Ping timeout: 258 seconds]
cevi has quit [Quit: ZNC 1.6.5+deb1 - http://znc.in]
cevi has joined #sandstorm
yeehi_ has joined #sandstorm
yeehi has quit [Ping timeout: 260 seconds]
lounge-user21 has joined #sandstorm
yeehi has joined #sandstorm
yeehi_ has quit [Ping timeout: 258 seconds]
yeehi has quit [Quit: Konversation terminated!]
yeehi has joined #sandstorm
samba_ has joined #sandstorm
<ill_logic>
I have a question. Is anybody here familiar with packaging Flask applications for Sandstorm?
demonimin has joined #sandstorm
demonimin_ has quit [Ping timeout: 240 seconds]
demonimin has quit [Ping timeout: 260 seconds]
FredFredFred_ has joined #sandstorm
FredFredFred has quit [Ping timeout: 240 seconds]
yeehi has quit [Quit: Konversation terminated!]
ill_logic has quit [Read error: Connection reset by peer]
ill_logic has joined #sandstorm
<ill_logic>
Can I get some help running Sandstorm dev offline? I wanted to confirm that the thing I'm packaging makes no external calls.
<ill_logic>
But it requires being online. Even if I put local.sandstorm.io in my hosts file, it won't start up grains
<isd>
ill_logic: yeah, the local.sandstorm.io trick won't work if you don't have an internet connection. You could set up dnsmasq or something to do DNS, and then set up the wildcard entry yourself.
<isd>
A bit of a pain, but that's kinda why the local.sandstorm.io entry exists.
chatter29 has joined #sandstorm
chatter29 has left #sandstorm [#sandstorm]
<isd>
re: flask apps, do you have specific questions? Shouldn't be much different than other python apps.
<ill_logic>
Ah, thanks. So very specifically: The SECRET_KEY is apparently used for signing cookies.
<ill_logic>
Being open source, I don't want the SECRET_KEY in the source.
<ill_logic>
On the other hand, doesn't Sandstorm handle sessions anyway?
<ill_logic>
Should I just ignore this?
<isd>
You could just generate the key on first start
<isd>
You probably do want it; while sandstorm handles auth it doesn't handle app-specific session data.
<isd>
And you should be doing e.g. CSRF protection, even though sandstorm does some work to mitigate those kinds of attacks. So you'll need a key for that.
_whitelogger has joined #sandstorm
<isd>
ill_logic: you don't need to generate it every time, just the first time the grain is started. You'd have to check on startup whether it's there.
<ill_logic>
why did I not think of this. I feel like I thought in this direction. hmm.
<ill_logic>
Anyway, makes sense. I just check if the file is there.
<ill_logic>
Cool, thanks.
<isd>
you're welcome
<ill_logic>
Sweet, that was easy.
<ill_logic>
Gonna try hacking around with local sandstorm again. bbl
<isd>
enjoy
ill_logic_ has joined #sandstorm
ill_logic has quit [Remote host closed the connection]
ill_logic_ has quit [Quit: ill_logic_]
ill_logic has joined #sandstorm
Zarutian has joined #sandstorm
<ill_logic>
dnsmasq was easy to do. my thing works totally locally. Sweet.
<ill_logic>
More interesting than that: I had an issue where a 700MB upload (using a custom chunking method) didn't make my laptop fan go super active.
<ill_logic>
It did before. I'm going to try again the old way to confirm. That's a weird cause.
<ill_logic>
Hmm, no. It seems to just be gone now _shrug_
ill_logic has quit [Quit: ill_logic]
FredFredFred has joined #sandstorm
dwrensha has quit [Quit: Lost terminal]
FredFredFred_ has quit [Ping timeout: 255 seconds]
samba_ has quit [Quit: WeeChat 1.7]
samba_ has joined #sandstorm
samba_ has quit [Ping timeout: 260 seconds]
Zarutian has quit [Ping timeout: 240 seconds]
yeehi has joined #sandstorm
samba_ has joined #sandstorm
yeehi_ has joined #sandstorm
yeehi has quit [Ping timeout: 260 seconds]
neynah has joined #sandstorm
yeehi has joined #sandstorm
yeehi_ has quit [Ping timeout: 260 seconds]
afuentes has quit [Ping timeout: 252 seconds]
Telesight has quit [Remote host closed the connection]