urbanway/construct

v5.1.6 2020-06-13 10:43 UTC

This package is auto-updated.

Last update: 2024-09-28 06:00:47 UTC


README

"这是Construct。它是我们的加载程序。我们可以加载任何东西……从服装到设备、武器、训练模拟;我们需要的任何东西。" ——关于Construct的莫菲厄斯

由于Impresspages不再支持,Construct是其分支。https://github.com/impresspages/ImpressPages

这个存储库被用作主https://github.com/urbanway/construct存储库的库。这里存储了construct的最基本功能。从长远来看,这个存储库应该成为一个无需CMS的自给自足的construct框架。

文档

https://urbanway.github.io/construct-docs/docs

安装

如果您想从github使用最新版本,请按照以下步骤进行操作以使一切正常运行。

  1. 创建一个名为composer.json的文件,并在其中放入以下内容
{
"require": {
		"urbanway/construct": "^5.0.0"
	},
	"scripts": {
		"post-install-cmd": ["php vendor/urbanway/construct/bin/setup.php public"],
		"post-update-cmd": ["php vendor/urbanway/construct/bin/setup.php public"]
	},
		"autoload": {
		"psr-4": {"Plugin\\": "public/Plugin/"}
	}
}
  1. 通过运行composer install安装所有composer依赖项

  2. 启动一个Web服务器来服务public目录。您还可以使用内置的PHP Web服务器,切换到public目录cd public,并使用此命令启动Web服务器:php -S localhost:8000 index.php

  3. 打开您的Web服务器并导航到您正在使用的地址,例如https://:8000

  4. 按照设置向导操作。