Sha256: 98d39a3a0cafaca46169f7651e387529781f979d7d4a825e7728751495349e06
Contents?: true
Size: 1.83 KB
Versions: 1
Compression:
Stored size: 1.83 KB
Contents
== Prerequisites ==== 1. Delete Temp directory rm -rf ~/hyla/MyBlankProject/ rm -rf ~/hyla/MyTocProject/ rm -rf ~/hyla/MyTrainingProject/ == 1.Create a Blank Project === 1. Create a new project ./hyla new --blank ~/hyla/MyBlankProject === 2. Idem but with force option ./hyla new --blank ~/hyla/MyBlankProject --force === 3. Add an artefact (article, audio, video) ./hyla create --t asciidoc --a article --d ~/hyla/MyBlankProject ./hyla create --t asciidoc --a audio --d ~/hyla/MyBlankProject ./hyla create --t asciidoc --a video --d ~/hyla/MyBlankProject ./hyla create --t asciidoc --a source_highlight --d ~/hyla/MyBlankProject === 4. Generate HTML Content of an existing project (asciidoc 2 html) ./hyla generate --r adoc2html --s ~/hyla/MyBlankProject/ --d ~/hyla/MyBlankProject/generated_content == 2. Project from Template === 1. Create a project using a template (training) ./hyla new --force --t training ~/hyla/MyTrainingProject ./hyla new --force --t training-exercises ~/hyla/MyTrainingExercisesProject === 2. Generate content and watch it ./hyla generate --r adoc2html --s ~/hyla/MyTrainingProject/ --d ~/hyla/MyTrainingProject/generated_content ./hyla watch --s ~/hyla/MyTrainingProject/ --d ~/hyla/MyTrainingProject/generated_content == 3. Table Of Content To asciidoc === 1. Generate an asciidoctor project from a Table of Content ./hyla generate --r toc2html --p my-project --d ~/hyla/MyTocProject/ --toc ~/MyProjects/hyla/data/toc.adoc ./hyla generate --r adoc2html --s ~/hyla/MyTocProject/ --d ~/hyla/MyTocProject/generated_content ./hyla watch --s ~/hyla/MyTocProject/ --d ~/hyla/MyTocProject/generated_content == 4. Server content locally - HTTP Server ./hyla serve -P 4000 -H localhost --out_dir ~/hyla/MyTrainingProject/generated_content/ -b /hyla/
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hyla-1.0 | scenario.adoc |