How to build my app offline?

Hello

I need to build my app offline. Could someone help me, giving me a tutorial that explains step by step the configuration and use of the offline build?

Thanks