luggs-co / ncrypt

Home of NCrypt
https://ncry.pt/
32 stars 5 forks source link

NCrypt

Home of ncrypt.

This readme will get updated when a more polished version of the code is completed.

TODO: https://gist.github.com/luggs-co/1a0dc5f161f18e5861e3 (Comments welcome)

Dependencies

Dev Dependencies

Deploy

www is the "public" base directory for your webserver.

All requests that don't target a static file should be handled through index.php; the path after the base url should be given as PATH_INFO (append as path to index.php), see resources/rewriterules.txt

Configure database access and other customizations in www/inc/config-local.inc.php (you have to create it)

<?php
  $__config['database']['username'] = 'ncrypt';
  $__config['database']['password'] = '...';
  $__config['database']['type'] = 'mysql'; // default if unset. for PostgreSQL use 'pgsql'

Make sure you run "make" as it will generated all the required css/javascript files (and update templates accordingly) used on the website.

Directory structure