clean-car

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

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

Go to latest
Published: Apr 29, 2020 License: MIT Imports: 7 Imported by: 0

README

Build Status

Clean car API project

API documentation under /swagger-ui
To build clone this repo and run
go build
To run the tests
go test ./...
To deploy on sloppy.io
  1. create an account under sloppy.io
  2. in travis set SLOPPY_APITOKEN env variable
  3. in travis register DOCKER_USERNAME and DOCKER_PASSWORD
  4. in travis set DOCKER_IMAGE which is the docker image name for the app
  5. in travis set DOMAIN which is the sloppy domain name or an external one if you have any

NOTE: sloppy.io is free for 14 days. Its nice if you plan a demo!

mercedes account
  1. register for an account here https://me.secure.mercedes-benz.com
  2. login with the account to https://developer.mercedes-benz.com/apis/connected_vehicle_experimental_api and subscribe to the API
  3. you will need to create a new app there and set a callback URL such as http://localhost:3333/callback for local dev
  4. Client Id and Client secret need to be exported as CLIENT_ID and CLIENT_SECRET in docker container, this can be achieved via either docker run --env CLIENT_SECRET=xxxxx

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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