mirror of https://github.com/Sonarr/Sonarr
26 lines
665 B
C#
26 lines
665 B
C#
using NLog;
|
|
using NzbDrone.Core;
|
|
|
|
namespace NzbDrone
|
|
{
|
|
class Program
|
|
{
|
|
|
|
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
|
|
static void Main(string[] args)
|
|
{
|
|
CentralDispatch.ConfigureNlog();
|
|
CentralDispatch.BindKernel();
|
|
|
|
Logger.Info("Starting NZBDrone WebUI");
|
|
var server = new CassiniDev.Server(@"D:\My Dropbox\Git\NzbDrone\NzbDrone.Web");
|
|
server.Start();
|
|
|
|
System.Diagnostics.Process.Start(server.RootUrl);
|
|
Logger.Info("Server available at: " + server.RootUrl);
|
|
System.Console.ReadLine();
|
|
|
|
}
|
|
}
|
|
}
|