Oh No, Another Website Editing System !
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
classes
content
css
fonts
img
js
.gitignore
.htaccess
Updating.md
index.php
readme.MD

readme.MD

Onawes!

(Oh No, Another Website Edit System !)

Onawes allow to generate simple websites, based on Twitter Bootstrap 3.

It supports themes and custom blocks.

The structure is organized in pages, which contains rows, which contains blocks.

For now, blocks types are :

  • Generic Text blocks (with markdown syntax)
  • News blocks (with UI to create articles)
  • Contact Form
  • Address block

Requirements

  • PHP 5.4 (may work with previous PHP 5 versions, but not tested)
  • Apache 2.4 or lighttpd (Nginx not tested)

Data is saved in JSON files, no SQL database needed !

Install

With Git

git clone https://github.com/Dric/Onawes.git

Manual install

Unzip archive on your web server

Settings

Just access your website, the installer will run automatically.

URL Rewriting

URL Rewriting : https://ciarand.me/posts/refactoring-php-part-2/

Lighttpd

Edit lighttpd.conf, uncomment "mod_rewrite" and this line :

url.rewrite-if-not-file = ("\/Onawes\/(.*)" => "/Onawes/index.php/$1")

Where Onawes is the script dir.

If Onawes is installed on root directory or in subdirectory not named 'onawes', do not forget to edit '.htaccess' file (only if webserver is Apache, of course)

Components used

Icon from https://freeiconshop.com/icon/edit-document-icon-flat/