breizhtrip-go

command module
v0.0.0-...-ac98336 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2016 License: MIT Imports: 7 Imported by: 0

README

BreizhTrip

Carte interactive pour découvrir le patrimoine breton recensé

Interactive map to discover breton heritage

Desc

Project

Roadmap & TODO

Requirements

  • Golang 1.7.x

Installation

$ go get github.com/Masterminds/glide
$ glide install

Usage

  • development
$ go run breizhtrip.go server -p 5000

# Before pushing to Github
$ find . -name '*.go' -not -path './vendor*' -exec go fmt {} \;

Environment variables https://github.com/mdouchement/breizhtrip-go/blob/master/config/config.go

Import data to database

$ go run breizhtrip.go import -i /path/to/your/file.csv

The TSV must include these columns header:

  • longitude
  • latitude
  • addresses
  • commune
  • lieu_dit
  • datings
  • status
  • study
  • studied_at
  • names
  • phase
  • photos
  • description

Development

  • Front-end

Install dependencies

$ npm install

Main Gulp tasks. More commands in Gulpfile comments.

$ gulp watch # Watch assets, views and go files
$ gulp build # Build assets and server
$ gulp assets:[task] --dev # Add sourcemaps and livereload refresh

License

MIT. See the LICENSE for more details.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Ensure specs and Rubocop pass
  5. Push to the branch (git push origin my-new-feature)
  6. Create new Pull Request

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
web

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL