deploy before app