Templates for quickly web development, with perl + Mojolicious.
This project has just launched development (now).
This project is not official.
-
perl 5.10 (or later)
-
Mojolicious 3.70 (or later)
- Mojolicious::Plugin::I18N
-
MongoDB
-
Data::Model + Data::Model::Driver::MongoDB
-
Twitter Bootstrap
-
etc...
If you have never used Mojolicious, I recommend you to begin application development with Mojolicious::Lite, and refer to official tutorials.
Because this template is not official and can't guarantee quality.
-
login_site
The website that can login using OAuth2 (Google Account).
-
perl 5.10 (or later)
-
mongodb - It must be running on default settings (localhost:27017).
Please execute the following commands with a console:
$ git clone git://github.com/mugifly/mojo_template.git
$ cd mojo_template/login_site/
$ cpan .
$ morbo script/example
Then, let's access with browser: http://localhost:3000/
So, you will be able to access the web application ("login_site" template).
The "morbo" command is launching the "Mojo::Server::Morbo" daemon, with Application (script/example). ("Mojo::Server::Morbo" is a daemon for development. It is bundled with the Mojolicious framework.)
Enjoy the web development! with perl + Mojolicious :) please see to: http://mojolicio.us/perldoc (Japanse translation)
IN ADDITION: You must configure when you use to OAuth login on template application. (please see "Configure" section in the bottom.)
You can use the bundled script (rename_batch.pl).
Please execute the following commands with a console:
$ chmod u+x rename_batch.pl
$ ./rename_batch.pl
Please enter your new app name ...: HogeHoge
Will this do...? [y/n]: y
...
Complete. let's enjoy!
*"login_site" template:
login_site/config/config.conf
You must set the Google OAuth key/secret and other values to it.
see wiki page: https://github.com/mugifly/mojo_template/wiki/Files
Many thanks!!
https://github.com/sharifulin/mojolicious-plugin-i18n
http://github.com/yappo/p5-Data-Model/
https://github.com/ytnobody/Data-Model-Driver-MongoDB/
(C) ytnobody <ytnobody@gmail.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
https://github.com/keeth/Net-OAuth2
https://github.com/twitter/bootstrap
Copyright 2012 Twitter, Inc.
Apache License 2.0 https://github.com/twitter/bootstrap/blob/master/LICENSE
Copyright 2012 jQuery Foundation and other contributors. http://jquery.com/
MIT License https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt
GLYPHICONS FREE are released under the Creative Commons Attribution 3.0 Unported (CC BY 3.0).
The GLYPHICONS FREE can be used both commercially and for personal use,
but you must always add a link to glyphicons.com in a prominent place (e.g. the footer of a website),
include the CC-BY license and the reference to glyphicons.com on every page using GLYPHICONS.
Masanori Ohgita (http://ohgita.info/).
This template is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Thanks, Perl Mongers & CPAN authors.