[
 {n4u, [{port, 4000},
        %{websocket_port, 443}, % uncomment at server behind nginx
        {websocket_port, 4000}, % same as port for localhost test
        {app, n4u_sample},
        {appurl, <<"https://mybesttestapp.win/">>},
        {upload, "./apps/n2o_sample/priv/static/"},
        {mode, dev},
        
        {pgs_host, "localhost"},
        {pgs_port, 5432},
        {pgs_user, "user33"},
        {pgs_pass, "strong_password_here"},
        {pgs_db, "test"},
        
        {route, routes},
        {mq, n2o_mq},
        {formatter, bert},
        {log_modules, config},
        {log_level, config},
        {log_backend, n2o_log},
        {session, n2o_session},
        {origin, <<"*">>},
        {bridge, n2o_cowboy},
        {pickler, n2o_pickle},
        {erroring, n2o_error},
        {event, pickle}]},
 {fs,
   [{backwards_compatible, false}]},
 {active,
   [{compile_on_templates, true},
    {listen_paths, ["apps", "deps"]}]},
%{mad,
%   [{compile_dtl_escape, true}, %% auto_escape dtl templates data -- default enabled in dtl, default disabled in mad
%    {debug, true}, %% add debug_info when compile erlang modules with mad, default disabled in mad
%    {warnings_as_errors, true}]}, %% add warnings_as_errors when compile erlang modules with mad, default disabled in mad
 {avz, [{after_login_page, "/index"},
        {login_page, "/interlogin"},
        {fb_id, "176025532423202"},
        {tw_consumer_key, "YwfU5qj5AYY0uwPumcw1Q"},
        {tw_consumer_secret, "O7VjRYLWxwMgtSXZbiiY6kc1Og2il9gbo1KAIqZk"},
        {g_client_id, "158344909038-j6c0rbvpi09kdaqq03j2eddlf047ht3d.apps.googleusercontent.com"}, 
        {g_cookiepolicy, "http://localhost:8000"},
        {g_btn_width, 240},
        {g_btn_height, 50},
        {g_btn_theme, "light"},
        {g_btn_longtitle, true},
        {github_client_id, "591bfe2556ee60ca8c32"},
        {github_client_secret, "01411884e3c51624d3ea729ed6b047db52973e8e"},
        {ms_client_id, "54385d15-f1e0-4fcf-9bf4-042d740e0df4"},
        {ms_client_secret, "jU0tStEzRdDPFwL9NdVGYxo"},
        {ms_redirect_uri, "http://localhost:8000/interlogin"}
      ]},
 {kvs, [{dba,store_mnesia},
        {schema, [kvs_user, kvs_acl, kvs_feed, kvs_subscription ]} ]}
].