Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.22 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.22 KB

Doujinshi manager documentation

This is the home page of djmngr application.

commands

gem install middleman

middleman init homepage-src && cd homepage-src

# convert erb files to haml
gem install html2haml
html2haml -e input.erb output.haml

# create pages with live preview on port 3000
bin/server  # middleman server ...

# build HTML and assets
bin/build   # middleman build

# push new version to github pages
bin/publish

create gh-pages empty branch on git

configure middleman, add in config.rb:

# disable github Jekyll magic
touch source/.nojekyll

# copy repo config and create empty branch
cp -ra .git build/
cd build
git switch --orphan gh-pages
git commit --allow-empty -m "initial commit"
git push -u gh-pages