There are some great lessons on Patterns in WN...give a search in Lessons....'pattern' and go through them...you won't be disappointed.
Please bear with me...I hate to write a lot...allow me to speak in dots for the most time.
Page 1 - Major Scale
Page 5 - CAGED system
Page 7 - Arpeggios
Page 12- Pentatonics
Page 14- Modes
Page 19- Natural, Harmonic and Melodic minors.
Page 23- Pattern Application
Page 26- Key secret
Lets take a look at the major scale first....
it has a note pattern of W-W-H-W-W-W-H
Let us consider G major scale...it has 1 sharp note F#.
Notes of the G Major scale octave would therefore be G-A-B-C-D-E-F#-G -- G is the Tonic.
Remember: Important distinction
Tonic: relating to or based on the first tone of a scale
Root: the lowest tone of a chord (as C in a C minor chord) when the tones are arranged in ascending thirds.
Take the G Major scale from the 3rd fret/15th fret 6th string
thing to remember is to play the major scale in 2 patterns...
starting the tonic of the pattern with the median
NOTE: You could use the index finger to start..but since you are a beginner I want to enforce something....because according to the 1-2-3-4 fret playing you use index finger on the 1st fret...median on the 2nd fret...annular on the 3rd fret and pinky on the 4th fret..
BTW...I use the index finger for starting the pattern...and go back to index on the 3rd note of this pattern.
Remember to use strick alternate picking...unless specified...ie. down up down up...
starting the Tonic of the pattern with the pinky(small finger).
Another variation...start with the index finger.
and to complete the scale from the 5th note of octave..if no more strings are left to complete the 2 patterns.