winglian / appstrap

AppStrap
20 stars 5 forks source link

A bit of documentation on how internals work #1

Open pjakobsen opened 10 years ago

pjakobsen commented 10 years ago

That is a great app, although it's a mystery to me how the internals work: What file gets processed first, and what setting tells does heroku's apache to interpret that file first? It would be nice to have at leas a one liner to point to some documentation on one of the frameworks included, since I'm now running the app but I'm new to PHP (I usually code in python but I love appstrap for sheer speed of getting up and running)

How do I, for example, add an index.html file to the root and have that become my temporary "Under Construction" page? I assumed apache will always read index.php or index.html in the root dir first, but it seems not to.

Thanks for the great work.

matthewkturner commented 10 years ago

@pjakobsen I think most of the issues you are describing are related to Codeigniter, the PHP framework in use here. Check out this reference http://ellislab.com/codeigniter/user-guide/. Editing application/views/welcome.twig would be a good place to start for the "Under Construction" page. That page is loaded by the welcome controller, which is set as the default in config/routes.php.

Hope that helps!

MT