Minimalist blog engine in PHP/MySQL
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
js
sql
tmpl
.gitattributes
.gitignore
.htaccess
404.php
Alibaba.class.php
README.md
_globals.php
alibaba_config_sample.php
edit.php
edit_page.php
feed.php
index.php
login.php
model.php
pages.php
panel.php
posts.php
savePage.php
savePost.php
search.php
sparta_config_sample.php
tags.php

README.md

SPARTA -- A Tiny Blog Engine

Sparta is a pet project project of mine, a minimalist blog/CMS engine written in PHP and MySQL.

There are many like it, but this one is mine.

Its primary motivation is twofold:

  1. Get me off a hosted blog platform, so I own my own content,
  2. Give me a sandbox to play with cool new web development features.

Some effort has gone into providing an out-of-the-box style that's not hideous, and that has basic responsive design. So far, the RWD aspects really only manifest in the management pages, although I expect I'll get around to doing the blog reader pages as well when I responsivate (™) my own blog.

INSTALLATION

  1. Get the H2O template engine and drop it in a bin/h2o subfolder.
  2. Create a new MySQL database on your server, and run the sql/create_tables.sql script to build its schema.
  3. Copy alibaba_config_sample.php to alibaba_config.php, and edit it to reflect the database you just created.
  4. Copy sparta_config_sample.php to sparta_config.php, and edit it to reflect the same database, as well as your desired blog information.

CREDITS

I'm using Ben Crowder's public domain Alibaba project for its minimal PHP authentication. Those portions are his, and are quite probably more free of bugs than my own.