Picture of Ludovic Bas
How to configure multiple project into one
by Ludovic Bas - Monday, 19 June 2017, 5:05 PM
 

Hello,

I've made some changes on js, templates and css and I want to build multiple projects with this config.

So I would like to build project with the command line like this:

grunt build course1 => to build course1/en/ instead of course/en/
grunt build course2 => to build course2/en/ instead of course/en/
etc.

Any clue on how to achieve this? (I guess I need to modify grunt...but how?).

Cheers;

Picture of Matt Leathes
Re: How to configure multiple project into one
by Matt Leathes - Monday, 19 June 2017, 5:22 PM
 

Hi Ludovic

The Adapt Grunt task runner isn't set up to build multiple courses from the same src - if you want to do that you should try Kineo's RUB task runner instead as this is set up to do that.

With RUB you also don't have to have two copies of all the JSON and assets, you can just have a copy in the build so that all you have in src is just that - the source code.

Picture of Ludovic Bas
Re: How to configure multiple project into one
by Ludovic Bas - Tuesday, 20 June 2017, 9:58 AM
 

Thanks for your answer. I'll try it.