You can start your new Herbie website by using Composer.
# for the stable version 1 $ composer create-project getherbie/start-website myproject # for the dev-master version $ composer create-project getherbie/start-website:dev-master myproject
Composer installs a simple demo website including the needed dependencies into the
Alternatively, you can run the above commands step-by-step:
$ git clone https://github.com/getherbie/start-website.git myproject $ cd myproject $ composer update
In your terminal go to the web directory and start the internal PHP webserver.
$ cd myproject/web $ php -S localhost:8888 index.php
Now, open the URL http://localhost:8888 in your browser. Finished!
You can find the Docker configuration files here:
docker-compose.yml docker - nginx - app.conf docker - php - Dockerfile - php.ini
First, you should update the server name in the config file
server_name your-domain.tld; -> for example
Then start the Docker container by using
docker-compose up -d in the root dir of the website.