privapark/cms-bundle

Simple Dot Cms bundle

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Forks: 0

Type:symfony-bundle

pkg:composer/privapark/cms-bundle

dev-main 2025-11-12 15:23 UTC

This package is not auto-updated.

Last update: 2025-11-12 22:13:46 UTC


README

# Simpledot - CMS Bundle [![Gitlab](https://img.shields.io/badge/Gitlab-Simpledot_cms--bundle-blue?style=for-the-badge&logo=gitlab&logoColor=white&labelColor=181789&color=white)](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

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 [![Node](https://img.shields.io/badge/node-12.22.12-blue?logo=node)](https://www.npmjs.com/package/webpack) [![Npm](https://img.shields.io/badge/npm-6.14.16-blue?logo=npm)](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