Print with the flat side down. Tree supports are recommended for the top section but not required (it will depend on your printer).
Use a piece of filament as the hinge.