Application for marketplace management system
npm install @things-factory/operato-mms- Operato : Solution family brand of hatiolab.com(http://www.hatiolab.com)
- MMS : Marketplace Management Service
- nodejs version 12
- 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
- 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