I can test on the truffle network, but I can't find the necessary settings to deploy the contract to a real network.
You need to check out the truffle tutorial, docs, and guides on https://www.trufflesuite.com
there are many resources on their website as well as youtube
I looked but found it. I wish you would share the truth.