forked from mojolicious/mojo
-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Ulrich Habel edited this page Oct 17, 2012
·
12 revisions
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)
sudo -s 'curl -L cpanmin.us | perl - Mojolicious'Easily start your new Mojolicious project:
mojo generate helpgives you a list of options.
mojo generate appgenerates "my_mojolicious_app"
mojo generate app hello_worldgenerates "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_worldin the example above.
Now follow the Guides on Github.