kentonv changed the topic of #sandstorm to: Welcome to #sandstorm: home of all things sandstorm.io. Say hi! | Have a question but no one is here? Try asking in the discussion group: https://groups.google.com/group/sandstorm-dev | Public logs at https://botbot.me/freenode/sandstorm/
afuentes has quit [Ping timeout: 268 seconds]
samba_ has quit [Quit: WeeChat 2.0.1]
afuentes has joined #sandstorm
n8a has joined #sandstorm
spyjoshx has joined #sandstorm
<spyjoshx> I just started hosting a sandstorm instance for a small team of hobbyists and I was wondering if there is an easy way to make a grain out of an existing web app. I am already hosting a Rocket.Chat server and would like for my users to be able to use it from within sandstorm
afuentes has quit [Ping timeout: 264 seconds]
jemc has quit [Ping timeout: 268 seconds]
<DanC> spyjoshx, Rocket.Chat is in the sandstorm app store already
<spyjoshx> I know, but I have an instance of it ALREADY hosted
<spyjoshx> (not in sandstorm)
<ocdtrekkie> spyjoshx: It'd be on the app to support that sort of thing. And Rocket.Chat's Sandstorm version is pretty old, shoehorning your database into it would probably break things.
<ocdtrekkie> Wekan supports import and export of boards which works between Sandstorm and non-Sandstorm versions, for example.
<spyjoshx> I'm talking about something like nextcloud does. Making a "pseudo-grain" that is basically just an iframe of my rocket.chat
DanC has quit [Quit: So long and thanks...]
<ocdtrekkie> My last experience with Nextcloud was when it was just ownCloud. :P
<spyjoshx> lol. But do you get what I mean?
<ocdtrekkie> I think there'd probably be concerns with embedding things outside of Sandstorm's security model inside Sandstorm, where people might be misled to believe they are being protected by Sandstorm's way of doing things.
<spyjoshx> hmmm.... Oh well. Thanks for your help! ;)
<ocdtrekkie> I personally wish it was a bit easier to move some of my LAMP stack "apps" into Sandstorm grains. I have quite a few floating around on a web hosting account which are mostly for my use only at this point, but I don't want to make them disappear.
<spyjoshx> Yeah! I know EXACTLY what you mean.
<spyjoshx> I found a really cool js gameboy emulator on github and am hosting it on my server as well. It would probably make a good grain for my group
spyjoshx has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jemc has joined #sandstorm
<ocdtrekkie> spyjoshx: I have a little list of JS apps like that I'd love to package for Sandstorm, though there's complications. Most JS apps like that have an annoying habit of storing data in localStorage, which doesn't work with Sandstorm.
<ocdtrekkie> Sandstorm doesn't need an app to implement user management for a one-person app, but it does need the app to store data somewhere in /var on the server.
samba_ has joined #sandstorm
samba_ has quit [Ping timeout: 240 seconds]
samba_ has joined #sandstorm
xet7 has quit [Quit: Leaving]
xet7 has joined #sandstorm
georgeowell has quit [Remote host closed the connection]
xet7 has quit [Remote host closed the connection]
georgeowell has joined #sandstorm
xet7 has joined #sandstorm
xet7 has quit [Ping timeout: 264 seconds]
xet7 has joined #sandstorm
samba_ has quit [Ping timeout: 240 seconds]
Lionel_Debroux has quit [Ping timeout: 240 seconds]
jemc has quit [Ping timeout: 248 seconds]
pie__ has quit [Ping timeout: 246 seconds]
pie_ has joined #sandstorm
pie_ has quit [Ping timeout: 240 seconds]
larjona has quit [Ping timeout: 260 seconds]
afuentes has joined #sandstorm
pie_ has joined #sandstorm
aundro has joined #sandstorm
aundro has left #sandstorm [#sandstorm]
pie__ has joined #sandstorm
pie_ has quit [Ping timeout: 256 seconds]
jemc has joined #sandstorm
pie__ has quit [Ping timeout: 240 seconds]
samba_ has joined #sandstorm
pie__ has joined #sandstorm
ogres has joined #sandstorm
jemc has quit [Ping timeout: 260 seconds]
jemc has joined #sandstorm
Lionel_Debroux has joined #sandstorm
cbaines has quit [Ping timeout: 256 seconds]
cbaines has joined #sandstorm
Telesight has joined #sandstorm
pie__ has quit [Ping timeout: 240 seconds]
afuentes has quit [Ping timeout: 248 seconds]
afuentes has joined #sandstorm
samba_ has quit [Ping timeout: 260 seconds]
<TimMc> I'm still pretty confused about how app packaging is supposed to work in Sandstorm.
<TimMc> Am I correct in understanding that there's basically a process that watches you build and use the app, then collects all the files that it touches?
samba_ has joined #sandstorm
jemc has quit [Ping timeout: 248 seconds]
jemc has joined #sandstorm
jgay has quit [Quit: jgay]
jgay has joined #sandstorm
ocdtr_web has joined #sandstorm
<ocdtr_web> TimMc: That's more or less the gist of it, though using alwaysInclude in the pkgdef file you can explicitly select things to include in the package as well.
ocdtr_web has quit [Client Quit]
Telesight has quit [Remote host closed the connection]
<TimMc> I'll be honest, that gives me the willies. Seems too implicit.
<TimMc> I'd have concerns around reproducibility, debugability, and fragility.
xet7 has quit [Ping timeout: 240 seconds]
xet7 has joined #sandstorm
<ocdtrekkie> TimMc: Rebuilding apps can definitely be fragile, if you've updated apps on a system and you're building with the spk tool. But it's very helpful when you have no idea what files outside of your project folder you need to run your application.
<ocdtrekkie> vagrant-spk is significantly more reproducible since the package runs and is assembled inside a VM, and your project's vagrant-spk folder effectively contains the scripts used to build said VM.
afuentes has quit [Ping timeout: 256 seconds]
<TimMc> Well, I definitely wouldn't want to run it *outside* a VM. :-)
<ocdtrekkie> Note that since spk creates a list of files which are to be included in a package, it is relatively easy to see when included components change. Though that won't identify if versions of said files change on your system.
<ocdtrekkie> When I mess with packaging I use a Linux VM since I'm a Windows user, but I definitely prefer spk over vagrant-spk.
<ocdtrekkie> vagrant-spk has a lot of cool features, but unfortunately lives in unsupported land at the moment, since Kenton himself didn't develop it, and Asheesh and Drew aren't super active around these parts.