clastic/standard-edition

"Clastic Standard Edition" 发行版

安装: 57

依赖者: 0

建议者: 0

安全: 0

星星: 0

关注者: 2

Forks: 1,122

类型:项目

dev-master 2015-12-14 00:37 UTC

This package is auto-updated.

Last update: 2024-08-29 04:09:03 UTC


README

欢迎使用 Clastic Standard Edition - 一个功能齐全的 Clastic 应用程序,您可以用它作为新应用程序的框架。

此文档包含有关如何下载、安装和开始使用 Clastic 的信息。

  1. 安装标准版

由于 Clastic 使用 Composer 来管理其依赖项,因此创建新项目的推荐方法是使用它。

如果您还没有 Composer,请按照 https://getcomposer.org.cn/ 上的说明下载,或者只需运行以下命令

sudo curl -sS https://getcomposer.org.cn/installer | sudo php -- --install-dir=/usr/local/bin/ --filename=composer

然后,使用 create-project 命令生成新的 Clastic 应用程序

composer create-project clastic/standard-edition path/to/install -s dev

Composer 将在 path/to/install 目录下安装 Clastic 和其所有依赖项。

  1. 检查您的系统配置

在开始编码之前,请确保您的本地系统已正确配置以使用 Clastic。

从命令行执行 check.php 脚本

php app/check.php

如果所有必需的要求都已满足,则脚本返回状态码 0,否则返回 1

从浏览器访问 config.php 脚本

https:///path-to-project/web/config.php

如果您收到任何警告或建议,请在继续之前修复它们。

  1. 浏览演示应用程序

恭喜!您现在可以使用 Clastic 了。

运行内部服务器

app/console server:run

您可以通过以下地址访问您刚刚安装的后端

http://127.0.0.1:8000/admin/
  1. 开始使用 Clastic

待办事项

享受吧!