1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-23 00:03:05 +00:00
Lidarr/NzbDrone/Program.cs

29 lines
734 B
C#
Raw Normal View History

2010-09-23 03:19:47 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
2010-10-02 19:01:43 +00:00
using System.Net;
2010-09-23 03:19:47 +00:00
using System.Text;
2010-10-07 22:17:24 +00:00
using NLog;
using NzbDrone.Core;
2010-09-23 03:19:47 +00:00
namespace NzbDrone.Console
{
class Program
{
2010-10-07 22:17:24 +00:00
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
2010-09-23 03:19:47 +00:00
static void Main(string[] args)
{
2010-10-07 22:17:24 +00:00
CentralDispatch.ConfigureNlog();
Logger.Info("Starting NZBDrone WebUI");
2010-10-02 19:01:43 +00:00
var server = new CassiniDev.Server(@"D:\My Dropbox\Git\NzbDrone\NzbDrone.Web");
server.Start();
2010-09-23 03:19:47 +00:00
2010-10-02 19:01:43 +00:00
System.Diagnostics.Process.Start(server.RootUrl);
2010-10-07 22:17:24 +00:00
Logger.Info("Server available at: " + server.RootUrl);
2010-09-23 03:19:47 +00:00
System.Console.ReadLine();
}
}
}