Several pre-assemblies holding panels of photovoltaic cells are constructed and pre-wired in a factory. The pre-assemblies are shipped to a solar farm, where they are lifted above posts secured to the ground. By being foldable, the solar panel assemblies can provide a compact shipping arrangement. Operators can connect the solar panel assemblies to a support and then unfolded the solar panel assemblies and lock them in the unfolded position.