ah its a fork of sw for my blag
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Jess 3b5d15ba28
Update 'style.css'
2 weeks ago
.gitignore Initial commit 9 years ago
Makefile Add an uninstall option to the makefile. 7 years ago
README.md Update 'README.md' 2 weeks ago
md2html.awk Initial commit 9 years ago
style.css Update 'style.css' 2 weeks ago
style.old.css Initial commit 9 years ago
sw Update 'sw' 2 weeks ago
sw.conf.def Initial commit 9 years ago
whereis Initial commit 9 years ago

README.md

sw - suckless webframework

sw is a minimal and sane web framework.

Changes from jroimartin/sw

  • footer modified to add licensing info

Installation

Run:

make && make install PREFIX=/usr/local

Configuration

Copy sw.conf and style.css to your working directory, and edit them to fit your needs.

Static web generation

Run from your working directory:

sw /path/to/site

Where 'site' is the folder where your website is located. The static version of the website is created under 'site.static'.

Automatic generation+upload

The whole process can be automatized if you create a Makefile like this in your working directory:

all:
	sw /path/to/site
	rsync -avz site.static/ foo.org:/path/to/wwwroot/
clean:
	rm -rf site.static

Author

  • Nibble <develsec.org>

Contributors

  • pancake <nopcode.org>
  • Andrew Antle