Skip to content

Installation

Sander van Dragt edited this page Mar 1, 2020 · 16 revisions

You are invited to use the Docker container for development and site creation purposes, which requires the following packages:

sudo apt install docker.io docker-compose composer

Cuttlefish itself is a simple PHP 7.3+ application and the Docker container runs Ubuntu 18.04 and Caddy Server, so if you're familiar with setting up a PHP application you could skip Docker.

Installation

  1. Check out this repository git clone https://github.com/svandragt/cuttlefish
cd cuttlefish
# install php requirements
composer install

Running the project

# build and run container:
composer serve

# add ip from docker into the hosts file:
CF_IP=$(ip a | grep "global docker0" | grep inet | xargs | cut -d' ' -f2 | cut -d'/' -f1)
echo "${CF_IP} cuttlefish.test" | sudo tee -a /etc/hosts

Open http://cuttlefish.test in the browser

Troubleshooting

No known issues.

Clone this wiki locally
You can’t perform that action at this time.