Bailador
use Bailador;
get '/' => sub {
"Hello World";
}
baile();
Bailador is a light-weight route-based web application framework for Perl 6. Talk to the developers at https://perl6-bailador.slack.com/
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 using Rakudobrew you may need to run the following command to make B=bailador available in your terminal:
$ rakudobrew rehash
At the command prompt, create a new Bailador application:
$ bailador --name App-Name new
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. Wonderful?
You can now edit the files and Bailador reloads the aplication while you're developing.
If you want to learn more about Bailador, please visit our documentation.
For more examples, please see the examples folder.
We encourage you to contribute to Bailador !
If you'd like to contribute to Bailador, see the CONTRIBUTING.
Bailador is released under the MIT License.
You can find a list of Bailador ressources (articles, posts, talks, books, ...) here.
- 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
https://github.com/pnu/heroku-buildpack-rakudo