A Carlisle primary school has been given a new lease of life, thanks to a community project.