sets up config.js for public viewing