aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2011-05-12 09:47:04 +0300
committerFilipp Lepalaan <filipp@mac.com>2011-05-12 09:47:04 +0300
commit235d14dc3c2545ae42a09b7ee36a2a549d96a3bb (patch)
tree587b34e25536b01f5767ba2b51cf24803e3a8cae
parent84ff858544f82c72cb104e0e6e9a86291b115d74 (diff)
downloadmain-235d14dc3c2545ae42a09b7ee36a2a549d96a3bb.tar.gz
main-235d14dc3c2545ae42a09b7ee36a2a549d96a3bb.tar.bz2
main-235d14dc3c2545ae42a09b7ee36a2a549d96a3bb.zip
describe bootstrap
-rw-r--r--README.md10
-rw-r--r--config.default.ini14
2 files changed, 10 insertions, 14 deletions
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