kiksaus/cms-backend

A CMS based on Symfony 8

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/kiksaus/cms-backend


README

Open:

https://localhost:9200/cms/

Set up site:

SITE_ALIAS=[ALIAS] SITE_PORT=[PORT] docker compose -f vendor/kiksaus/cms-backend/docker/docker-compose-site.yml -p [KEY] up -d

Enable XDebug:

docker exec -ti cms-php-1 sh -c "echo "zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-20230831/xdebug.so" >> /usr/local/etc/php/php.ini && apachectl restart"

Disable XDebug:

docker exec -ti cms-php-1 sh -c "sed -i \"/\b\(xdebug.so\)\b/d\" /usr/local/etc/php/php.ini && apachectl restart"

Enter container:

docker exec -it <CONTAINER_NAME> /bin/bash

Edit CMS code within project

Create symlink (replace ../../KikCMS with where the CMS sits relative to the vendor dir) rm -rf vendor/kiksaus && ln -s ../../KikCMS vendor/kiksaus

How to do a composer update with updated CMS code without a commit?

  • Update composer.json with:
{
    "repositories": [
        {
            "type": "path",
            "url": "../KikCMS2/cms-backend",
            "options": {
                "symlink": true
            }
        }
    ]
}
  • Remove existing symlink
  • Run composer update