sfbrigade/sfsbook

Name: sfsbook

Owner: SFBrigade

Description: A repository for the reduce violence against women in SF project

Created: 2016-03-17 16:47:18.0

Updated: 2017-06-28 04:15:55.0

Pushed: 2018-02-18 12:06:12.0

Homepage:

Size: 17864

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

sfsbook

STOP VIOLENCE!

Structure

We use Gin http framework for routing and rendering of paths.

main.go - contains the Gin initializer and sets up various routes and runs the server.

routes.go - contains various handlers; will be moved to own package once this file becomes too big.

templates/ - contains various Go templates.

static/ - contains js and css files; this folder is server to the public, so BEWARE!

refguides/ - contains the resources in various formats; nested by date pdf was added.

vendor/ - contains vendored dependencies;

Development

Install gin which is a live reload utility.

go get github.com/codegangsta/gin

Run server with:

gin run main.go

If you add a new dep, be sure to add it to vendor/ with:

govendor add +external
go get -u github.com/kardianos/govendor

You can access the server at: http://localhost:3000.

Credits

This repo's frontend and javascript code is original from https://github.com/sfbrigade/sfsbook. All credit goes to @rjkroege and @cehsu and many other contributors seen here.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.