Skip to content

Quick Start

Matt Perry edited this page Jun 25, 2015 · 3 revisions

Mojolicious Quick Starter

This is what helped me to get started with mojo, perhaps it helps you, too. ;-) First of all, you need to install Mojolicious (which also installs Mojo)

Test that you can run and access a Mojolicious app (runs the default HelloWorld app on port 3000):

  $ mojo daemon

Easily start your new Mojolicious project:

  $ mojo generate help

gives you a list of options.

  $ mojo generate app

generates "my_app"

  $ mojo generate app HelloWorld

generates "hello_world"

You then find a directory structure with a preconfigured application.

The first thing you will need is to start your mojolicious application:

  $ script/[your_app]

where [your_app] is the name of your application.

  $ script/hello_world

in the example above.

Now follow the Guides on Github.

Something went wrong with that request. Please try again.