Integral design of a laser wakefield accelerator with external bunch injection door