The discipline is the foundation. And in order to generate this, to discipline ourselves there are many many many methods of disciplining oneself. But everything can be abbreviated and concise into taking refuge to buddha, dharma and sangha. Once you take refuge to the buddha, dharma and sangha whole heartedly, from the depth of your heart, without any doubt, you will, most of the other discipline will automatically easily emerge. This is why refuge, practice of the refuge, in all the Buddhist traditions, not only in the Mahayana or the Vajrayana, in the Shravakayana, everywhere, the first thing you do is take refuge to the Buddha, Dharma and Sangha.