class Ecrire::Application < Rails::Application

Ecrire::Application is the entry point when running a blog.

The big difference between this application and a normal Rails application is that Ecrire will look for secrets.yml in the current working directory.

If it doesn't find one, it will load the onboarding process so the user can configure the database and the first user.

If the application finds secrets.yml, it will load the Theme which is located in the current working directory.

Instance Methods

  1. onboarding? ()

    Returns true if Ecrire::Onboarding::Engine is loaded in the application runtime

  2. paths ()

    Return paths based off Rails default plus some customization.

    These paths are Ecrire's, not the users' theme.

    For the user's paths, look at Ecrire::Theme::Engine#paths