Publishing applications to a server