Permalink
Browse files

doc: Hint in README

  • Loading branch information...
MikeMitterer committed Jun 18, 2015
1 parent ef2a0bb commit ab42c475f8036a633d5786ebab4e5bba92b89f39
Showing with 10 additions and 1 deletion.
  1. +9 −0 README.md
  2. +1 −1 pubspec.yaml
View
@@ -293,6 +293,15 @@ Check out the [sample!][sample]
- Sitegen observes automatically it's basefolders like content, web aso. but if
you want additional folders that should be observed so that sitegen automatically regenerates it's
file - set watchfolder[1-3] in you site.yaml
- Test your App with Chrome and use sitegen as server (MAC + Linux only)
`pub build && cd build/web && sitegen --serve --port 9000 --docroot . || cd -`
*Explanation:*
Runs "pub build" - if this runs without errors cd to "build/web"
In "build/web" run sitegen as server on port 9000 and set docroot to . (current dir (default would be "web"))
|| means if the prev command ends with an error (Ctrl + C to cancel sitegen) jump back where you came from
### Features and bugs
View
@@ -8,7 +8,7 @@ version: 1.1.3
environment:
sdk: '>=1.0.0 <2.0.0'
# Add the bin/dartpad.dart script to the scripts pub installs.
# Add the bin/sitegen.dart script to the scripts pub installs.
# Activate local repo:
# pub global activate --source path .
#

0 comments on commit ab42c47

Please sign in to comment.