Socket
Book a DemoInstallSign in
Socket

github.com/mysmartgrid/msg-prototype-2

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/mysmartgrid/msg-prototype-2

Source
Go Modules
Version
v0.0.0-20160426113015-d6a59b2ebdf6
Version published
Created
Source

msg-prototype-2

Requirements

  • Go >=1.5

  • Glide go get github.com/Masterminds/glide

    go get github.com/Masterminds/glide

    export PATH=$PATH:${GOPATH}/bin

    git clone https://github.com/mysmartgrid/msg-prototype-2.git ${GOPATH}/src/github.com/mysmartgrid/msg-prototype-2

  • postgres >=9.5

    sudo -s

    echo deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main > /etc/apt/sources.list.d/pgdg.list

    wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -

    sudo apt-get update

    sudo apt-get install postgresql-9.5

Build

  • Run make install-deps

  • Then run make build-all

    (cd ${GOPATH}/src/github.com/mysmartgrid/msg-prototype-2/;make install-deps)

    (cd ${GOPATH}/src/github.com/mysmartgrid/msg-prototype-2/;make)

Startup database

sudo -u postgres -H createuser --createdb --pwprompt msgdb

sudo -u postgres -H createdb --owner=msgdb msgdb

psql -U msgdb -d msgdb -W -h localhost < src/github.com/mysmartgrid/msg-prototype-2/db/initdb.sql

Usage

  • See https://github.com/mysmartgrid/msg-prototype-2/wiki

FAQs

Package last updated on 26 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts