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

6 lines
224 B
C#
Raw Normal View History

2023-12-16 01:40:05 +00:00
using Tesses.WebServer;
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);