privapark/cms-bundle
Composer 安装命令:
composer require privapark/cms-bundle
包简介
Simple Dot Cms bundle
README 文档
README
# Simpledot - CMS Bundle [](https://gitlab.com/simpledot/cms-bundle)Back
composer.json
Change the minimum stability on the composer.json
"minimum-stability": "dev",
"prefer-stable": true
Edit the composer.json with the vcs with at least this info:
"repositories": [
{"type": "composer", "url": "https://repo.packagist.com/simpledot/"},
{"packagist.org": false}
]
Add the dependencies to this bundles:
"require": {
"awstudio/article-cms-bundle": "^4.0",
"awstudio/aw-catalog-bundle": "^4.0",
"awstudio/aw-core-bundle": "^4.0",
"awstudio/aw-form-bundle": "^4.0",
"awstudio/awcmsbundle": "dev-symfony4",
"awstudio/edm-bundle": "dev-symfony4"
}
Change the psr autoload to use AppBundle instead of App:
"autoload": {
"psr-4": {
"AppBundle\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"AppBundle\\Tests\\": "tests/"
}
},
And run composer update
.env
Create a .env.dist file in the root of the project, with at least the next parameters:
#Symfony env
APP_ENV=dev
APP_SECRET=
#Doctrine
DATABASE_URL=mysql://$USER:$PASSWORD@db:$PORT/$DB
###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN=^https?://localhost(:[0-9]+)?$
###< nelmio/cors-bundle ###
###> aws/aws-sdk-php-symfony ###
AWS_ID=
AWS_PRIVATE=
AWS_ENABLE=0
AWS_REGION=eu-central-1
AWS_S3_BUCKET=
###< aws/aws-sdk-php-symfony ###
FACEBOOK_APP_ID=
FACEBOOK_APP_SECRET=
MAILER_DSN=null
MAILER_FROM=contact@awstudio.fr
MAILER_SENDER=null
Create a .env in the root folder copying the content of .env.dist and editing the content for you project
Config
Create the config files required on /config
Entities
Create the required entities in src/Entity
- User.php
- ArticleCustom.php
- ArticleCustomTranslation.php
- CategoryCustom.php
- CategoryCustomTranslation.php
- ItemCustom.php
- ItemCustomTranslation.php
Forms
Create the required forms in src/Form
Repositories
Create the required repositories in src/Repository
Database
Run the next command to create the DB structure:
php bin/console doctrine:schema:update -f
Run the next command to load the fixtures and create some data by default:
php bin/console doctrine:fixtures:load
# Front
[](https://www.npmjs.com/package/webpack)
[](https://www.npmjs.com/package/webpack)
Installation
You need to used node v12 (v12.22.12 is a safe version)
$ npm install
Build resources
production
$ npm run prod
development
$ npm start
update icons
$ npm run icon
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2025-11-12