build public resources