← Back to team overview

dhis2-devs team mailing list archive

Re: How can debug the source code in maintenance-app app

 

Hey Mithilesh,

When you clone the code and run.

npm install
npm start

The dev server should start and you it'll run with non-minified code. (note
that you'll need to set up CORS to be able to do the API requests)

See [1] for a more general description of how it's structured.

[1] https://github.com/dhis2/app-skeleton

On Thu, Apr 21, 2016 at 1:26 PM, Mithilesh Kumar Thakur <
mithilesh.hisp@xxxxxxxxx> wrote:

> Dear Mark,
>                    I ask about Is there is any debug mode for the new apps
> ? and how to debug the code because while using this app the code is min
> and we can't debug easily.
>
> On Thu, Apr 21, 2016 at 3:20 PM, Mark Polak <mark@xxxxxxxxx> wrote:
>
>> Hey,
>>
>> The maintenance app is located at
>> https://github.com/dhis2/maintenance-app
>>
>> Regards,
>>
>> Mark
>>
>> On Thu, Apr 21, 2016 at 11:32 AM, Jason Pickering <
>> jason.p.pickering@xxxxxxxxx> wrote:
>>
>>> Hi,
>>> This has moved here I think
>>>
>>> https://github.com/dhis2/settings-app
>>>
>>> Regards,
>>> Jason
>>>
>>>
>>> On Thu, Apr 21, 2016 at 11:26 AM, Mithilesh Kumar Thakur <
>>> mithilesh.hisp@xxxxxxxxx> wrote:
>>>
>>>> Dear dev,
>>>>               My problem is that i want to add/update some change in
>>>> maintenance-app but i cant able to do it because this code is not available
>>>> in dhis source code when checkout the code it is only available in war file
>>>> after build war file and it is in the form of browser-polyfill.min and in
>>>> side this form it is very difficult to identify the code.
>>>>
>>>> Is any way to find the actual source code of that apps.
>>>>
>>>> Is there is any debug mode for the new apps.
>>>>
>>>> --
>>>>
>>>> Thanks and Regards
>>>>
>>>> Mithilesh Kumar Thakur
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>>
>>> --
>>> Jason P. Pickering
>>> email: jason.p.pickering@xxxxxxxxx
>>> tel:+46764147049
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Regards,
>>
>>
>> Mark Polak
>> Software developer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org <https://www.dhis2.org/>
>> mark@xxxxxxxxx
>>
>
>
>
> --
>
> Thanks and Regards
>
> Mithilesh Kumar Thakur
>



-- 
Regards,


Mark Polak
Software developer, DHIS 2
University of Oslo
http://www.dhis2.org <https://www.dhis2.org/>
mark@xxxxxxxxx

References