Servo + Photoresistor

Arduino 1.8.2 with redboard and breadboard. I am trying to mix the two projects with the servo and photoresistor together to form a sort of small scale security system. When it gets dark I want the servo to spin 360 degrees. Any help?

https://learn.sparkfun.com/tutorials/si … uino—v33

Experiment 2 and experiment 8. Give that a try first.