Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add simple server for prototyping inspired by handlebars-proto #171

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

giflw
Copy link

@giflw giflw commented Aug 30, 2018

Add a simple server for prototyping.

  • -h or --help show simple help message
  • --port set port to run, or run on 4567 if not given
  • use current directory or given one to serve files
  • file to serve is given in url
  • if a yml or json file with same name as template exists, it is used as model in rendering
  • to access a file called "foo.jade" use http://localhost:4567/foo
  • to access a file called "bar.jade" in a directory called "foo" use http://localhost:4567/foo/bar

I've added a profile called jade4j-proto to execute appassembler plugin to create a distributable folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant