tesses-cms/Tesses.CMS.Server/Program.cs

7 lines
253 B
C#

using Tesses.WebServer;
using Tesses.CMS.Providers;
using Tesses.CMS;
string path = args.Length > 0 ? args[0] : "data";
CMSServer server=new CMSServer(path,new LiteDBContentProvider(path));
server.Server.StartServer(server.Configuration.Port);