2010-10-10 19:00:07 +00:00
|
|
|
|
using NLog;
|
2010-10-07 22:17:24 +00:00
|
|
|
|
using NzbDrone.Core;
|
2010-09-23 03:19:47 +00:00
|
|
|
|
|
2010-10-10 19:00:07 +00:00
|
|
|
|
namespace NzbDrone
|
2010-09-23 03:19:47 +00:00
|
|
|
|
{
|
|
|
|
|
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();
|
2010-10-10 19:00:07 +00:00
|
|
|
|
CentralDispatch.BindKernel();
|
|
|
|
|
|
2010-10-07 22:17:24 +00:00
|
|
|
|
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();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|