Commit Graph

11 Commits

Author SHA1 Message Date
ce00d933aa vcs as string, not int.
No longer do we keep track of const iota style. Just encode the behavior
in the server for defaults, add a validation function, call it a day.

Change-Id: I603e9dd287a57084c78c543f1ce83b0acf47a765
2016-03-01 23:49:24 -08:00
a1f6e15f28 ysvd -> vaind 2016-02-16 23:30:00 -08:00
501631a45a Don't require user to set YSV_HOST
The original reason for having this required configuration parameter was that
I didn't think to read the hostname off the request. Doing it this way has the
additional benefit of a single server being able to serve a multitude of
hostnames.

Derek helped me realize this by repeating "there should be sane defaults" like
9000 times (maybe over 9000) till I got so tired of trying to make sure that he
understood why I did it that way to begin with that I looked at the problem
from a different perspective and like in a dream the solution came to me.

fixes #10.
2016-02-16 23:22:33 -08:00
456d502b72 added some tests for the json storage. 2016-02-15 01:42:20 -08:00
c5c1dbc4a9 fleshed out where documentation is stored. 2016-02-15 01:09:11 -08:00
4cfaf2124f Added Save/Load to db
Fixes #3. Fixes #2
2016-02-14 22:20:10 -08:00
b0ebbf742b simple in-memory storage working for POST/GET 2016-02-13 01:18:18 -08:00
158ef57b13 bit more docs 2016-02-13 00:17:12 -08:00
b7ef100a2c moved ysv -> vain 2016-02-13 00:17:12 -08:00
b3585cbc96 Added an http server 2016-02-08 00:15:22 -08:00
8ef813e55d init 2016-02-08 00:00:39 -08:00