jekxyl / jekxyl
Static website generator using the XYL language.
Installs: 22
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 1
Open Issues: 2
Type:bin
Requires
- hoa/console: ~3.0
- hoa/dispatcher: ~1.0
- hoa/event: ~1.0
- hoa/file: ~1.0
- hoa/http: ~1.0
- hoa/protocol: ~1.0
- hoa/router: ~3.0
- hoa/stringbuffer: ~1.0
- hoa/xyl: ~1.0
This package is not auto-updated.
Last update: 2024-10-27 01:25:14 UTC
README
Jekxyl is a static website generator written with the XYL language.
Installation
With Composer, you need to require
jekxyl/jekxyl
:
$ composer global require jekxyl/jekxyl
This command will install —by default— Jekxyl in your home. Once the
bin/jekxyl
script in the PATH
, we will be able to run:
$ jekxyl
Basic usage
First of all, to ease the start of the Web application, one will use the jekxyl new
command, which expects a directory name to be provided:
$ jekxyl new MyProject
Now we are going to see how to compile these files into a static Web
application, with the help of the jekxyl compile
command, which expects a
source and a destination (respectively the Source
and the Dist
directories in
this particular example):
$ jekxyl compile --source MyProject/Source --destination MyProject/Destination
Et voilà, a nice MyProject/Dist/index.html
has been created. Because all
links are absolute, to watch the Web application with all the comfort, one might
use the jekxyl serve
command to start an HTTP server. This command expects at
least a root (default is .
):
$ jekxyl serve --root MyProject/Dist/ Server is listening MyProject/Dist on 127.0.0.1:8888
Thus, open 127.0.0.1:8888
in your favorite browser and see your first Web
application with Jekxyl!