Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A Simple Modern Perl CMS
JavaScript Perl Perl6 CSS

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
t
.gitignore
Build.PL
Changes
MANIFEST.SKIP
META.json
META.yml
README.pod

README.pod

NAME

Galileo - A simple modern CMS built on Mojolicious

SYNOPSIS

 $ galileo setup
 $ galileo daemon

DESCRIPTION

Galileo is a Perl CMS with some modern features. It uses client-side markdown rendering and websockets for saving page data without reloading. Galileo relies on many other great open-source projects, see more in the "TECHNOLOGIES USED" section.

This release is very young, don't expect anything not to break, for now. Bug reports very welcome.

INSTALLATION

Galileo uses well-tested and widely-used CPAN modules, so installation should be as simple as

    $ cpanm Galileo

when using App::cpanminus. Of course you can use your favorite CPAN client or install manually by cloning the "SOURCE REPOSITORY".

SETUP

Galileo installs a helper script galileo. It inherits from the mojo command, but it provides extra functions specifically for use with Galileo.

config

 $ galileo config [options]

This command writes a configuration file in your current working directory. It uses the preset defaults for all values, except that it prompts for a secret. This can be any string, however stronger is better. You do not need to memorize it or remember it. This secret protects the cookies employed by Galileo from being tampered with on the client side.

Galileo does not need to be configured, however it is recommended to do so to set your application's secret.

The --force option may be passed to overwrite any configuration file in the current working directory. The default is to die if such a configuration file is found.

setup

 $ galileo setup

Run galileo setup to setup a database. This step is required. It will use the default DBI settings (SQLite) or whatever is setup in the configuration file generated by the config command.

RUNNING THE APPLICATION

 $ galileo daemon

After the database is has been setup, you can run galileo daemon to start the server.

You may also use morbo (Mojolicious' development server) or hypnotoad (Mojolicious' production server). You may even use any other server that Mojolicious supports, however for full functionality it must support websockets. When doing so you will need to know the full path to the galileo application. A useful recipe might be

 $ hypnotoad `which galileo`

or replace hypnotoad with your server of choice.

TECHNOLOGIES USED

  • Mojolicious - a next generation web framework for the Perl programming language
  • DBIx::Class - an extensible and flexible Object/Relational Mapper written in Perl
  • PageDown (Markdown engine) - the version of Attacklab's Showdown and WMD as used on Stack Overflow and the other Stack Exchange sites
  • Bootstrap - the beautiful CSS/JS library from Twitter
  • jQuery - because everything uses jQuery
  • HumaneJS - A simple, modern, browser notification system

SEE ALSO

SOURCE REPOSITORY

http://github.com/jberger/Galileo

AUTHOR

Joel Berger, <joel.a.berger@gmail.com>

COPYRIGHT AND LICENSE

Copyright (C) 2012 by Joel Berger

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Something went wrong with that request. Please try again.