After frappe docker setup-before code I have questions

Hey guys… Yesterday I completed the setup for frappe/erpnext watching this video: https://m.youtube.com/watch?v=hbSMiJTooJI&pp=4gcNEgtjaGF0Z3B0LmNvbQ%3D%3D

Everything is running fine but now what I wanna create a custome app for crm but I don’t know is that i need to create a new custom app or just modify the previous india-complines app

I’m stuck… Little help please

Ik about the code part… I have confusion for is that I need to create a new custom app? Or just start modifying with the app I previously installed during the setup? If need to create a new custom app then how? in frappe docker

Do not use production containers for development purposes.

I created a script that quickly spins up frappe development containers check it below

  1. Follow the Start Guide: Local Development
  2. Once the setup is completed, in your instance directory terminal run ./fh.sh shell to access bench inside the container
  3. Then you can run bench new-app and install-app

Once you are done with your app development, push your app to a github repo. SSH key is automatically copied from your device to the development container so just make sure it’s added to your github account.

If you want to generate a new one you can run ./fh.sh setup-ssh then add the key provided to your github account.

  1. Install your app on your production container bench and site then migrate
1 Like

But I I’m wanna learn a production setup for custom app i can’t do that with development setup. Plus I checked out this repo already.
Any guidance?

Hi,

So for deployment follow the following for custom apps:-

frappe_docker/docs/custom-apps.md at main · frappe/frappe_docker · GitHub

For development

frappe_docker/docs/development.md at main · frappe/frappe_docker · GitHub


First you need to create app on dev dockers upload it to Git and then you can deploy via the prod dockers.
PS:- you cannot create and deploy app at the same time.


Regards,
Shubham

1 Like

Got it… One more thing what’s the write way to hide those default doctypes or modules from erpnext those showed on desk as well? I tried override them using hooks but latest folder structure is different… Can u suggest any documentation or something?

Then don’t install ERPNext