Skip to content

Latest commit

 

History

History
74 lines (49 loc) · 1.95 KB

README.md

File metadata and controls

74 lines (49 loc) · 1.95 KB

entangle!

Lifelines connected

Prerequisites

Due to the use of class DateTimeImmutable you need to have at least PHP 5.5. SQlite needs to be enabled, too.

Try it

The software is what drives entangle!. So, if you just want to look around, why not register yourself an account there? If you want to try it at home, get the PHAR archive. Run it with

    php -S 0.0.0.0:1111 entangle.phar

Point your web server at http://your-server:1111/

Installation

  • Clone this repository
    git clone git@github.com:oschettler/entangle.git htdocs
  • Point a webserver to the resulting directory, e.g. with PHP-enabled NGinx
    server {
      listen 80;
      server_name entangle.example.com;
      root /var/www/entangle-example/htdocs;
      location / {
        index index.php;
        try_files $uri $uri/ /index.php?$args;
      }
      access_log entangle-example.access.log;
      error_log /var/log/nginx/entangle-example.error.log;

      include common/php;
    }
    curl -sS https://getcomposer.org/installer | php
    php composer.phar install
  • Create a file settings.ini

    cp settings.ini.example ../settings.ini

  • Create an SQlite database

    mkdir ../db 
    sqlite ../db/entangle.sqlite < db-entangle-sqlite.sql
    sudo chown -R www-data ../db
  • Open http://entangle.example.com in your browser, click on login / Register account

  • Login with this account

  • Start logging your life's events