2017 © Pedro Peláez
 

project start-website

The website starter

image

getherbie/start-website

The website starter

  • Monday, November 27, 2017
  • by getherbie
  • Repository
  • 0 Watchers
  • 3 Stars
  • 489 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 2 % Grown

The README.md

Packagist GitHub License, (*1)

Website Kickstarter for Herbie CMS

Installation

You can start your new Herbie CMS website by using Composer., (*2)

composer create-project getherbie/start-website mywebsite

This will install a simple demo website and all required dependencies., (*3)

Run website using built-in web server

In your terminal go to the web directory and start the built-in web server., (*4)

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

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

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

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

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

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

For this to work, Xdebug must of course be installed., (*8)

Run website using Docker

The Docker configuration files can be found here:, (*9)

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., (*10)

Then, open http://0.0.0.0:8888 in your browser., (*11)

More Information

For more information, see https://herbie.tebe.ch., (*12)

The Versions