fierce/fierce

Web Framework

1.0.15 2021-07-01 22:37 UTC

This package is auto-updated.

Last update: 2024-04-09 09:51:27 UTC


README

Fierce is a fast, minimal and secure framework with a user friendly CMS.

It's especially suited to a consulting firm with an experienced team of coders creating a website on behalf of a non-tech-savvy client who will self manage the website after the initial build.

WARNING: Fierce is currently unstable and breaking changes are frequent.

Setup a Feirce website

Export a copy of the example template:

svn export https://github.com/fierce/site-template.git/trunk example.com

Use Composer to load dependencies:

cd example.com
composer install

Update config.php, especially:

  • specify your timezone
  • generate a new auth_salt using uuidgen | shasum
  • specify your site name
  • create a and enter connection details

Run migrations by running /vendor/fierce/fierce/maint/migrate.php in your browser

Navigate to /admin and login with user admin password test. From here you can setup pages and specify a new password.

The site design is changed by editing views/main-public.tpl. Add any custom PHP classes to the classes directory. Subclass of PageController can be associated with a URL by creating a new entry in the Page database table (preferably by creating a migration in the migrations directory).