Skip to content

Getting started

jbroadway edited this page Jul 15, 2011 · 23 revisions
  1. Download the latest release or source from http://github.com/jbroadway/elefant and unzip it into a site root somewhere. No sub-folder support, use sub-domains instead.

  2. Change the permissions on the cache, conf, css, files, install, and layouts folders to 0777 recursively. On the command-line use:

chmod -R 777 cache conf css files install layouts

Web installer

3. Go to /install/ on your site to run the web-based installer. This will guide you through the rest of the process.

Command-line installer

3. Edit conf/config.php and add your database connection info and default site info.

4. Run the command php conf/createdb.php to create the default database tables for the built-in apps. This will output an initial username and password for you to use in the admin area.

Next Steps

  1. Go to your site in a browser and see that it worked. You should see a basic website and welcome page if all went well.

  2. Go to /admin in your new site and log in with the username and password from step 4.

  3. Edit layouts/default.html and add your site stylings.

  4. Create an app using php conf/make.php myapp and write some models/handlers/views. Lather, rinse, repeat.

This GitHub site is the place to go for issues and info. If there's a need, I'll make a Posterous Group for it as well, so let me know if you think that would be good to have.

Enjoy!

Clone this wiki locally