If you park facing uphill where there is no curb, set the parking brake and:

When parking uphill on a road that does not have a curb, your front wheels should be turned to the right (toward the edge of the road). This will ensure that the vehicle will roll off of the road if the brakes fail.
DMV Writen Test