From 235d14dc3c2545ae42a09b7ee36a2a549d96a3bb Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Thu, 12 May 2011 09:47:04 +0300 Subject: describe bootstrap --- README.md | 10 ++++++++++ config.default.ini | 14 -------------- 2 files changed, 10 insertions(+), 14 deletions(-) delete mode 100644 config.default.ini diff --git a/README.md b/README.md index b819b41..c881fea 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,16 @@ MAIN - the simple PHP framework views (create a folder for each controller and an action.html file for every view) data (a good place to store all your application data, logs, etc) +So a typical bootstrap would go something like this: + + cd mysite + mkdir system/lib data public system + touch public/index.php data/error.log + cd system/lib + git clone git://github.com/filipp/main.git + cd ../.. + mate . + ## index.php ## A typical index.php using Main would look like this: diff --git a/config.default.ini b/config.default.ini deleted file mode 100644 index 332bcff..0000000 --- a/config.default.ini +++ /dev/null @@ -1,14 +0,0 @@ -[development] -db.name = servo -db.driver = mysql -db.host = localhost -db.username = -db.password = - -app.timezone = Europe/Helsinki -app.error_log = error.log - -defaults.locale = fi_FI -defaults.controller = session -defaults.action = check -defaults.title = MyWebApp -- cgit v1.2.3