OPTISAM (Optimized tool for inventive Software Asset Management) is a tool for the Software Asset Management Compliance Audit and Optimization Tool. This monorepo contains all the backend services namely:
- auth-service
- account-service
- license-service
- import-service
$ git clone https://github.com/Orange-OpenSource/optisam-backend.git
- Ensure all Go modules are valid, in the root directory run commands:
go clean -modcache && go clean -cache
go mod tidy
Update values of config files ${service}/cmd/server/config-local.toml as per your requirement
- Building docker images for all micro-services
cd ${service-name}/cmd/server
export CGO_ENABLED=0 GOOS=linux GOARCH=amd64 && go build
docker build --pull -t optisam/${service-name}-service:latest -f Dockerfile .
docker push optisam/${service-name}-service:latest
- Building docker image for postgres database having required schema for optisam
cd account-service\pkg\repository\v1\postgres\scripts
docker build --pull -t optisam/postgres:latest -f Dockerfile .
docker push optisam/postgres:latest
you can create and start all the services from your configuration (docker-compose.yml) -
docker-compose -f docker-compose.yml pull
docker-compose -f docker-compose.yml up
- Once docker-compose is up and running, open optisam dashboard at http://localhost:8090
- login with below superadmin credentials
- username - [email protected]
- password - admin
Copyright (c) 2019 Orange
This software is distributed under the terms and conditions of the 'Apache License 2.0' license which can be found in the file 'License.txt' in this package distribution or at 'http://www.apache.org/licenses/LICENSE-2.0'.
- Homepage: opensource.orange.com