Skip to content
Snippets Groups Projects
README.md 1.58 KiB
Newer Older
  • Learn to ignore specific revisions
  • Michael J. Manley's avatar
    Michael J. Manley committed
    ================
    
    Wise Eternium is a CMS written for PHP that is not like your typical CMS'es. Eternium uses more of a Site Builder design
    where we provide you with services and a templating engine and you can write your pages in simple PHP and generate things
    like menus and sitemaps. Think of it as an anti-CMS.
    
    Requirements
    ------------
    To install Wise Eternium, here is the system requirements
    
    * The following PHP Extensions must be installed
      * ctype
      * dom
      * iconv
      * json
      * pcre
      * SimpleXML
      * session
      * tokenizer
    * The following PHP Extensions is optional, only required when you enable certain services
      * curl, only required if using hCaptcha
      * gd, only required if using GD Internal Captcha
    
    How to build a deployment package
    ---------------------------------
    These are the commands the build server does when generating deployment packages. If you want to do this on your local
    build machine here is the workflow.
    
    ```
    cat << _EOF_ > config/eternium_config.yaml
    services:
      App\Interfaces\ICaptchaService:
        alias: app.captchaservice.none
    _EOF_
    cd build_tools/version-yaml
    npm install
    node . 1.0.0 -rel
    cd ../..
    composer install
    mkdir -p global/css
    cp vendor/legacy-icons/famfamfam-silk/dist/sprite/famfamfam-silk.min.css global/css/famfamfam-silk.min.css
    cp vendor/legacy-icons/famfamfam-silk/dist/sprite/famfamfam-silk.png global/css/famfamfam-silk.png
    rm -rf vendor
    composer install --no-dev
    rm -rf config/eternium_config.yaml
    rm -rf .devcontainer .gitattributes .gitignore .gitlab-ci.yml build_tools .idea
    composer archive --format zip --file eternium-rel
    ```