Logya是一个用Python编写的静态网站生成器。要安装和使用Logya,你需要Python2.7或Python3.3及以上版本和pip。
在终端中键入以下命令以安装Logya,在目录mysite中创建启动站点,生成HTML页面,并在计算机上的地址https://localhost:8080/输出。
快速开始# install logya and required packagespip install logya# create a barebone sitelogya create mysitecd mysite# add content and then generate the site in the deploy directorylogya gen# serve the site from deploy on https://localhost:8080logya serve
评论