This is a bit too unspecific, but generally all the configuration is in the database so you need to clone that.
Generally for automating things you should have a look at WP-CLI if you feel comfortable working on the command line.
This is a bit too unspecific, but generally all the configuration is in the database so you need to clone that.
Generally for automating things you should have a look at WP-CLI if you feel comfortable working on the command line.