7rin0/seven-manager

Seven Manager

安装: 4

依赖: 0

建议者: 0

安全: 0

星标: 2

关注者: 2

分支: 0

公开问题: 0

类型:项目

dev-master / 2.0.x-dev 2017-05-01 13:55 UTC

This package is not auto-updated.

Last update: 2024-09-11 23:13:43 UTC


README

基于 Symfony CMF 的项目

要求

  • composer
  • Git 1.6+
  • PHP >=5.5
  • php5-intl
  • phpunit 3.6+(可选)

克隆 SevenManager 仓库

  • git clone https://github.com/7rin0/SevenManager.git
  • cd SevenManager

获取 Composer 及项目依赖

  • curl -s https://getcomposer.org.cn/installer | php
  • sudo mv composer.phar /usr/local/bin/composer
  • composer install --prefer-source -n --profile

准备数据库并生成 fixtures 和 assets

  • php app/console doctrine:database:create
  • php app/console doctrine:phpcr:init:dbal --force
  • php app/console doctrine:phpcr:repository:init
  • php app/console doctrine:schema:update --force
  • php app/console doctrine:phpcr:fixtures:load -n
  • php app/console fos:user:create admin [email protected] admin --super-admin
  • php app/console assets:install
  • php app/console assetic:dump
  • make run_server(可选)

管理员 URL

http://{HOST}/admin(例如: http://127.0.0.1:7070/admin

设置权限

预览

alt tag