Dobrosław Żybort avatar Dobrosław Żybort committed 4bc0a10

Add README

Comments (0)

Files changed (1)

+PastebinGo
+==========
+
+Simple pastebin build with [Go lang](http://golang.org/)
+
+Learning project.
+
+## Features
+
++ Adding pastes
++ Displaying archived pastes
++ Syntax highlighting (with 
+	[highlight.js](http://softwaremaniacs.org/soft/highlight/en/))
++ User accounts
+
+### Requests or bugs? 
+<https://bitbucket.org/matrixik/pastebingo/issues>
+
+## Building
+
+In root folder:
+
+	go get .
+
+or
+
+	go get code.google.com/p/go.crypto/scrypt
+	go get github.com/gorilla/pat
+	go get github.com/gorilla/schema
+	go get github.com/gorilla/sessions
+	go get thegoods.biz/httpbuf
+	go get github.com/mattn/go-sqlite3
+	go get github.com/ziutek/mymysql/godrv
+
+Then for use with SQLite:
+
+	go build -tags sqlite
+	
+or if you want MySql first update file `config.go` and then:
+
+	go build -tags mysql
+
+Now run program and open <http://127.0.0.1:8080/> in browser.
+
+## License
+
+The source files are distributed under the 
+[Mozilla Public License, version 2.0](http://mozilla.org/MPL/2.0/),
+unless otherwise noted.  
+Please read the [FAQ](http://www.mozilla.org/MPL/2.0/FAQ.html)
+if you have further questions regarding the license.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.