is there any alternative? that I can use to install Drupal+CiviCRM development environment. taking too long it(in screenshot) took 2 hours.
You might try a CiviBuild in Docker. See https://github.com/michaelmcandrew/civicrm-buildkit-docker for the link and how to install it.
I use FTP and upload all the files and then run the installer.
I do the same with CiviCRM
Thanks my Problem has been solved! I have used this technique to solve this Problem:
I wanted to use
./bin/setup.sh -g this command to generate sql and DAO, for that what I did is:
Just downloaded civicrm-core from GitHub and then patched with an installation of CiviCRM drupal module.
How I did patch this: (in Ubuntu)
I have just mixed/merged civicrm-core and CiviCRM's drupal module in one directory.
and then I have just configured civicrm-core/bin/setup.conf by copying setup.conf.txt with my real installation of CiviCRM database information.
that's it configuration success.
now I can use
./bin/setup.sh -g while i am on civicrm-core-master directory.
to generate sql and DAO please read carefully carefully every step from here: https://docs.civicrm.org/dev/en/latest/extensions/civix/#generate-entity
If you are having any difficulties please comment down below, I will be glad to help you.