Galileo - A simple modern CMS built on Mojolicious
$ galileo setup $ galileo daemon
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.
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".
Galileo installs a helper script galileo. It inherits from the mojo command, but it provides extra functions specifically for use with Galileo.
galileo
$ 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.
--force
$ 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.
galileo setup
config
$ galileo daemon
After the database is has been setup, you can run galileo daemon to start the server.
galileo daemon
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.
hypnotoad
Galileo will look for a configuration file named galileo.conf in the current working directory. To change this behavior set the environment variable GALILEO_CONFIG to the full path to your configuration file. Note that the `galileo config` action will respect this variable and will write a configuration file to that full file path if detected.
GALILEO_CONFIG
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
Contenticious - File-based Markdown website application
http://github.com/jberger/Galileo
Joel Berger, <joel.a.berger@gmail.com>
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.
To install Galileo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Galileo
CPAN shell
perl -MCPAN -e shell install Galileo
For more information on module installation, please visit the detailed CPAN module installation guide.