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