Skip to content

Latest commit

 

History

History
56 lines (35 loc) · 1.64 KB

README.md

File metadata and controls

56 lines (35 loc) · 1.64 KB

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.