launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #09368
Re: combo loader enabled for ~launchpad
Also, don't forget to configure Apache if you haven't already done so:
Install libapache2-mod-wsgi.
In an up-to-date tree, run 'sudo make copy-apache-config reload-apache'
Early next week sample data will be updated to turn on the combo loader
for devel by default so you can skip the feature flag step below and
just ensure your Apache is correctly configured if you wish. After the
sample data change lands, the feature flag will be activate next time
you run 'make schema'.
On 18/05/12 10:17, Richard Harding wrote:
> On Mon, 14 May 2012, Richard Harding wrote:
>
>> I just wanted to toss a heads up that the combo loader has been
>> enabled for all of ~launchpad today. This is part of a rollout that
>> included the orange team living with it on production for the last
>> little bit.
>>
>> As a reminder, this means that you no longer have the giant
>> launchpad.js file in your network tree. Instead you'll see a couple of
>> calls to +combo/..... that load the JS required for the page to
>> function.
>
>
> I wanted to follow this up with some reminders and tips for working with
> things locally in your dev environments.
>
> We're working on getting the combo loader enabled by default in the dev
> data, until then, make sure you enable it locally so that you're using it
> and can help find issues there as well.
>
> You can enable the combo loader in your dev environment by heading over to
> `https://launchpad.dev/+feature-rules` and adding:
>
> js.combo_loader.enabled default 1 true
>
> Second, there's a tool `make jsbuild_watch` that's meant to aid in
> JavaScript development locally. It watches your launchpad tree for changed
> JS files and auto builds them for you on the fly. This prevents you from
> needing to manually run jsbuild after each time you change your JS files.
> Give it a shot, but realize this only works if the combo loader is enabled.
>
> If you hit anything or have any ideas/questions make sure to let me know.
>
References