Skip to content

mdouchement/breizhtrip-go

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published