getherbie/start-website

The website kickstarter for Herbie CMS

Installs: 950

Dependents: 0

Suggesters: 0

Security: 0

Stars: 7

Watchers: 1

Forks: 1

Open Issues: 0

Language:Twig

Type:project

v2.0.0 2023-01-02 11:45 UTC

This package is auto-updated.

Last update: 2024-10-30 01:48:19 UTC


README

Packagist GitHub License

Website Kickstarter for Herbie CMS

Installation

You can start your new Herbie CMS website by using Composer.

composer create-project getherbie/start-website mywebsite

This will install a simple demo website and all required dependencies.

Run website using built-in web server

In your terminal go to the web directory and start the built-in web server.

cd mywebsite/web
php -S localhost:8888 index.php

Now, open http://localhost:8888 with your browser. That’s all it takes!

If you need additional console output or logging information, set the debug environment variable.

HERBIE_DEBUG=1 php -S localhost:8888 index.php

If you want to debug using Xdebug (3.x), start the web server as follows.

XDEBUG_MODE=debug php -S localhost:8888 index.php

For this to work, Xdebug must of course be installed.

Run website using Docker

The Docker configuration files can be found here:

docker-compose.yml
docker
    - nginx
        - app.conf
docker
    - php
        - Dockerfile
        - php.ini

Start the Docker container by using docker-compose up -d in the root directory of the website.

Then, open http://0.0.0.0:8888 in your browser.

More Information

For more information, see https://herbie.tebe.ch.