momijizukamori: Grey tabby cat with paws on keyboard and mouse. The text reads 'code cat is on the job', lolcats-style (CODE CAT)
Cocoa ([personal profile] momijizukamori) wrote in [site community profile] dw_dev2016-12-23 04:20 pm

Two slightly different requests for help

1) I updated my develop branch so that I could rebase my work on converting /customize and /customize/options to TT, and having done so, discovered that the CSS files for both Tropospherical site schemes aren't being served properly. The files are there on the server, but for some reason when they're concatenated with other CSS files the server is falling over. I'm not sure how to fix it.

2) That said, I think I have the bulk of the conversion work done. It's a lot of code, and I had to make some changes to the HTML form template plugin, though, so I'd really appreciate it if some people could go bang on it some before we get it set up for a beta on production. My hackspace is http://www.momiji.hack.dreamwidth.net/
alierak: (Default)

[personal profile] alierak 2016-12-24 05:48 am (UTC)(link)
Doesn't have anything to do with Perlbal. Previously Dreamhacks weren't set up to do CONCAT_RES anyway -- it just seems that it's no longer optional now that it's implemented in our code, and in order for it to work all the various static files have to be splatted together somehow into a single directory tree. That can either be under HTDOCS or you can set STATDOCS to some other location.
alierak: (Default)

[personal profile] alierak 2016-12-24 05:53 am (UTC)(link)
Found it -- bin/build-static.sh
Edited 2016-12-24 05:54 (UTC)
alierak: (Default)

[personal profile] alierak 2016-12-24 05:59 am (UTC)(link)
So if you use that script, best set $STATDOCS = "$HOME/build/static" in config.pl or somewhere -- obviously this needs documenting.
kareila: IT prepares you for a life of fighting with PCs nonstop. (sysadmin)

[personal profile] kareila 2017-02-03 11:35 pm (UTC)(link)
I just got around to trying this on my hack and didn't see any problems using a nonfree journal style. Can you give me some steps to reproduce?
pauamma: Cartooney crab holding drink (Default)

[personal profile] pauamma 2016-12-29 01:55 am (UTC)(link)
Trying to document it, but looking at the code, it looks like it should be
$STATPREFIX = $LJ::HOME/build/static
instead. Can you or someone confirm?
alierak: (Default)

[personal profile] alierak 2016-12-29 01:56 am (UTC)(link)
No, we're definitely talking about STATDOCS here, not STATPREFIX. (ETA: I think it's the difference between a directory path where it should read the files to merge together, versus a URL prefix)
Edited 2016-12-29 01:58 (UTC)
pauamma: Cartooney crab holding drink (Default)

[personal profile] pauamma 2016-12-29 03:00 am (UTC)(link)
Duh.