NAME
Bailador
SYNOPSIS
use Bailador; get '/' => sub { "Hello World"; } baile();
DESCRIPTION
Bailador is a light-weight route-based web application framework for Perl 6. Talk to the developers at https://perl6-bailador.slack.com/
INSTALLATION
Once you have Rakudo Star installed open a terminal (or command line on Windows) and type:
$ zef update
$ zef install Bailador
This should download and install Bailador.
You can test your installation, and see what is your Bailador installed version with the following command:
$ bailador version
NB: If you are using Rakudobrew you may need to run the following command to make bailador
available in your terminal:
$ rakudobrew rehash
GETTING STARTED
At the command prompt, create a new Bailador application:
$ bailador new App-Name
Then, change directory to App-Name
and start the web server:
$ bailador watch bin/app.pl6
That's it! Using a browser, go to http://localhost:3000. Isn't it wonderful?
You can now edit the files and Bailador reloads the application while you're developing.
If you want to learn more about Bailador, please visit our documentation.
EXAMPLES
For more examples, please see the examples folder.
BAILADOR RESOURCES
You can find a list of Bailador resources (articles, posts, talks, books, ...) here.
Bailador-based applications
- https://github.com/szabgab/Perl6-Maven serving http://perl6maven.com/
- https://github.com/perl6/cpandatesters.perl6.org/ used to serve http://testers.p6c.org/ but currently not in use
Related projects
https://github.com/pnu/heroku-buildpack-rakudo
CONTRIBUTION
We encourage you to contribute to Bailador! If you'd like to do that, see first the CONTRIBUTING document.
LICENSE
Bailador is released under the MIT License.