Ver Fonte

initial commit with readme and license

Casey DeLorme há 8 anos atrás
commit
90fecda434
3 ficheiros alterados com 21 adições e 0 exclusões
  1. 0 0
      .gitignore
  2. 13 0
      license
  3. 8 0
      readme.md

+ 0 - 0
.gitignore


+ 13 - 0
license

@@ -0,0 +1,13 @@
+            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+                    Version 2, December 2004
+
+ Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
+
+ Everyone is permitted to copy and distribute verbatim or modified
+ copies of this license document, and changing it is allowed as long
+ as the name is changed.
+
+            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. You just DO WHAT THE FUCK YOU WANT TO.

+ 8 - 0
readme.md

@@ -0,0 +1,8 @@
+
+# [serve](https://github.com/cdelorme/serve)
+
+A utility that makes testing static web files stupidly simple.
+
+Written in [go](https://golang.org/), it produces a cli that when run from any folder will host that folder as the root path of a webserver.
+
+It defaults to [http://localhost:3000/](http://localhost:3000/), but you can override the port via the `PORT` environment variable or the first parameter supplied to the app.