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

7 lines
253 B
C#
Raw Permalink Normal View History

2023-12-16 01:40:05 +00:00
using Tesses.WebServer;
2024-01-04 02:53:13 +00:00
using Tesses.CMS.Providers;
2023-12-16 01:40:05 +00:00
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);