setup NODE_ENV var and dev config