<commit_before>﻿open Microsoft.Owin.Hosting
open System
open System.Net.Http
open FSharp.Configuration

type Settings = AppSettings<"app.config">

[<EntryPoint>]
let main argv = 
    EnsureConfigFile.FromMasterConfigForApp("sync.today.server.exe")
    let baseAddress = "http://localhost:" + Settings.ServerPort.ToString()
    let server = WebApp.Start<sync.today.Startup>(baseAddress)
    //really dumb way to lock console, 
    //server should be wrapped in windows service 
    Console.WriteLine("Press enter to exit ... ")
    Console.ReadLine() |> ignore
    server.Dispose() 
    0 <commit_msg>app -> App for travis<commit_after>﻿open Microsoft.Owin.Hosting
open System
open System.Net.Http
open FSharp.Configuration

type Settings = AppSettings<"App.config">

[<EntryPoint>]
let main argv = 
    EnsureConfigFile.FromMasterConfigForApp("sync.today.server.exe")
    let baseAddress = "http://localhost:" + Settings.ServerPort.ToString()
    let server = WebApp.Start<sync.today.Startup>(baseAddress)
    //really dumb way to lock console, 
    //server should be wrapped in windows service 
    Console.WriteLine("Press enter to exit ... ")
    Console.ReadLine() |> ignore
    server.Dispose() 
    0 
{'fraction_non_alphanumeric': 0.11589403973509933, 'fraction_numerical': 0.0016556291390728477, 'mean_word_length': 3.875, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4200680', 'n_tokens_mistral': 363, 'n_tokens_neox': 348, 'n_words': 91}