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 Makefile to build common commands more easily #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.PHONY: site show-site

site:
ttree -a -v -l LIB -f .ttreerc -s . -d /tmp/yef

show-site:
firefox file:///tmp/yef/index.html
10 changes: 7 additions & 3 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@ $> git clone https://github.com/yapceurope/yef-www/
# Change location.
$> cd yef-www/

# Make sure you have Template::Plugin::YAML installed.
# Run the Template Toolkit commandline tool to build the site.
# Build the site
$> make site
or
$> ttree -a -v -l LIB -f .ttreerc -s . -d /tmp/yef

# Point your browser at the newly created (local) site.
# View the local site in Firefox
$> make show-site

# Alternatively, point your browser at the newly created (local) site directly
$> firefox file:///tmp/yef/index.html

# Not sure why, but on my box, all links point to /home/yapc/public_html
Expand Down