@things-factory/operato-mms
TypeScript icon, indicating that this package has built-in type declarations

8.0.0-alpha.33 • Public • Published

Operato MMS

prerequisites

  • nodejs version 12

how to make & publish docker image

  • release new version with updated source, and publish to npm
$ git pull    # should sync with github before start
$ yarn install && yarn build
$ yarn release
  ? Select a new version (currently 3.0.0-beta.30) Custom Prerelease
  ? Enter a prerelease identifier (default: "beta", yielding 3.0.0-beta.31) # just enter
  ? Are you sure you want to publish these packages? (ynH) # enter 'y'
  • make docker image
$ yarn workspace @things-factory/operato-mms run build:client # should build client before making docker-image
$ yarn workspace @things-factory/operato-mms run docker
  • publish to docker-hub
$ docker login # login into docker-hub with hatiolab user with password (required only once)
$ docker push hatiolab/operato-mms:latest

install from docker

  • operato-mms installation

    • create a folder for the application and change directory to your folder.

    • the script will download a& install operato-mms

      # install script for operato-mms
      curl -fsSL https://raw.githubusercontent.com/things-factory/things-factory/master/packages/operato-mms/installer/install.sh | bash -s
      
    • run 'start.sh' to start operato-mms and 'stop.sh' to stop the running applicaton.

    • on initial start, run 'migrate.sh' first to migrate database.

    # data migration
    $ ./start.sh
    $ ./migrate.sh
    $ ./stop.sh
    
    # restart
    $ ./start.sh
    
  • operato-mms upgrade

# upgrade
$ ./stop.sh
$ ./upgrade.sh

# restart
$ ./start.sh

process

MMS Process

Readme

Keywords

none

Package Sidebar

Install

npm i @things-factory/operato-mms

Weekly Downloads

538

Version

8.0.0-alpha.33

License

MIT

Unpacked Size

3.22 MB

Total Files

243

Last publish

Collaborators

  • woo_ram
  • jyp220
  • heartyoh
  • horwengliang95
  • chris_lim7150
  • joekin
  • jinwon
  • jinwon_in_hatio
  • nalshya113
  • shortstop
  • youngwook