If you park facing uphill on a street with a curb, set the parking brake and:

When parking facing uphill on a street with a curb, you should turn the front wheels away from the curb and toward the center of the street. The back of the front tire should rest against the curb.
DMV Writen Test