@things-factory/operato-mms
v4.3.551
Published
Application for marketplace management system
Downloads
3,465
Maintainers
Keywords
Readme
Operato MMS
- Operato : Solution family brand of hatiolab.com(http://www.hatiolab.com)
- MMS : Marketplace Management Service
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