Giter Site home page Giter Site logo

bzub / mos-tool Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cesanta/mos-tool

0.0 2.0 0.0 11.37 MB

The Mongoose OS command line tool

Home Page: https://mongoose-os.com/software.html

Go 81.01% Python 5.40% Makefile 0.85% HTML 7.01% Shell 0.98% C 0.79% CSS 0.82% JavaScript 3.09% Dockerfile 0.05%

mos-tool's Introduction

The Mongoose OS command line tool

Installing on Windows

Download and run pre-built mos.exe.

Installing on Ubuntu Linux

Use PPA:

$ sudo add-apt-repository ppa:mongoose-os/mos
$ sudo apt-get update
$ sudo apt-get install mos

Note: to use the very latest version instead of the released one, the last command should be sudo apt-get install mos-latest

Installing on Arch Linux

Use PKGBUILD:

$ git clone https://github.com/cesanta/mos-tool
$ cd mos-tool/mos/archlinux_pkgbuild/mos-release
$ makepkg
$ pacman -U ./mos-*.tar.xz

Note: to use the very latest version from the git repo, instead of the released one, invoke makepkg from mos-tool/mos/archlinux_pkgbuild/mos-latest.

Installing Mac OS

Use homebrew:

$ brew tap cesanta/mos
$ brew install mos

Building manually

Minimal required Go version is 1.8.

Go and other required tools can be installed on Ubuntu 16.10 as follows:

sudo apt install golang-go build-essential python python-git libftdi-dev

Make sure you have GOPATH set, and PATH should contain $GOPATH/bin. It can be done by adding this to your ~/.bashrc:

export GOPATH="$HOME/go"
export PATH="$PATH:$GOPATH/bin"

Install govendor:

go get github.com/kardianos/govendor

Now clone the mos-tool repository into the proper location and cd to it

git clone https://github.com/cesanta/mos-tool $GOPATH/src/cesanta.com
cd $GOPATH/src/cesanta.com

Fetch all vendored packages and save them under the vendor dir:

$ govendor sync -v

Now, mos tool can be built:

make -C mos install

It will produce the binary $GOPATH/bin/mos.

Changelog

See release notes for this repo.

Up to version 1.25, mos tool was located under the mongoose-os repo, so its changelog can be found in mongoose-os release notes.

mos-tool's People

Contributors

dimonomid avatar cpq avatar zserge avatar alashkin avatar ruslanvaliullin avatar

Watchers

James Cloos avatar bzub avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.