sw is a minimal and sane web framework
Shell CSS Makefile
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 19 commits ahead, 8 commits behind jroimartin:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Makefile
README
style.css
sw
sw.conf.def
whereis

README

sw - suckless webframework
==========================
sw is a minimal and sane web framework.

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:

$ cat Makefile
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