mirror of
https://github.com/absmach/supermq.git
synced 2026-06-23 06:50:18 +00:00
Rename Mainflux to Magistrala
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
This commit is contained in:
+3
-3
@@ -45,7 +45,7 @@ setup_protoc() {
|
||||
}
|
||||
|
||||
setup_mf() {
|
||||
echo "Setting up Mainflux..."
|
||||
echo "Setting up Magistrala..."
|
||||
for p in $(ls *.pb.go); do
|
||||
mv $p $p.tmp
|
||||
done
|
||||
@@ -66,9 +66,9 @@ setup_mf() {
|
||||
fi
|
||||
done
|
||||
echo "Compile check for rabbitmq..."
|
||||
MF_MESSAGE_BROKER_TYPE=rabbitmq make http
|
||||
MG_MESSAGE_BROKER_TYPE=rabbitmq make http
|
||||
echo "Compile check for redis..."
|
||||
MF_ES_STORE_TYPE=redis make http
|
||||
MG_ES_STORE_TYPE=redis make http
|
||||
make -j$NPROC
|
||||
}
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# Copyright (c) Mainflux
|
||||
# Copyright (c) Abstract Machines
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
###
|
||||
# Provisions example user, thing and channel on a clean Mainflux installation.
|
||||
# Provisions example user, thing and channel on a clean Magistrala installation.
|
||||
#
|
||||
# Expects a running Mainflux installation.
|
||||
# Expects a running Magistrala installation.
|
||||
#
|
||||
#
|
||||
###
|
||||
|
||||
+8
-8
@@ -1,9 +1,9 @@
|
||||
#!/bin/bash
|
||||
# Copyright (c) Mainflux
|
||||
# Copyright (c) Abstract Machines
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
###
|
||||
# Runs all Mainflux microservices (must be previously built and installed).
|
||||
# Runs all Magistrala microservices (must be previously built and installed).
|
||||
#
|
||||
# Expects that PostgreSQL and needed messaging DB are alredy running.
|
||||
# Additionally, MQTT microservice demands that Redis is up and running.
|
||||
@@ -38,32 +38,32 @@ done
|
||||
###
|
||||
# Users
|
||||
###
|
||||
MF_USERS_LOG_LEVEL=info MF_USERS_HTTP_PORT=9002 MF_USERS_GRPC_PORT=7001 MF_USERS_ADMIN_EMAIL=admin@mainflux.com MF_USERS_ADMIN_PASSWORD=12345678 MF_EMAIL_TEMPLATE=../docker/templates/users.tmpl $BUILD_DIR/mainflux-users &
|
||||
MG_USERS_LOG_LEVEL=info MG_USERS_HTTP_PORT=9002 MG_USERS_GRPC_PORT=7001 MG_USERS_ADMIN_EMAIL=admin@mainflux.com MG_USERS_ADMIN_PASSWORD=12345678 MG_EMAIL_TEMPLATE=../docker/templates/users.tmpl $BUILD_DIR/mainflux-users &
|
||||
|
||||
###
|
||||
# Things
|
||||
###
|
||||
MF_THINGS_LOG_LEVEL=info MF_THINGS_HTTP_PORT=9000 MF_THINGS_AUTH_GRPC_PORT=7000 MF_THINGS_AUTH_HTTP_PORT=9002 $BUILD_DIR/mainflux-things &
|
||||
MG_THINGS_LOG_LEVEL=info MG_THINGS_HTTP_PORT=9000 MG_THINGS_AUTH_GRPC_PORT=7000 MG_THINGS_AUTH_HTTP_PORT=9002 $BUILD_DIR/mainflux-things &
|
||||
|
||||
###
|
||||
# HTTP
|
||||
###
|
||||
MF_HTTP_ADAPTER_LOG_LEVEL=info MF_HTTP_ADAPTER_PORT=8008 MF_THINGS_AUTH_GRPC_URL=localhost:7000 $BUILD_DIR/mainflux-http &
|
||||
MG_HTTP_ADAPTER_LOG_LEVEL=info MG_HTTP_ADAPTER_PORT=8008 MG_THINGS_AUTH_GRPC_URL=localhost:7000 $BUILD_DIR/mainflux-http &
|
||||
|
||||
###
|
||||
# WS
|
||||
###
|
||||
MF_WS_ADAPTER_LOG_LEVEL=info MF_WS_ADAPTER_HTTP_PORT=8190 MF_THINGS_AUTH_GRPC_URL=localhost:7000 $BUILD_DIR/mainflux-ws &
|
||||
MG_WS_ADAPTER_LOG_LEVEL=info MG_WS_ADAPTER_HTTP_PORT=8190 MG_THINGS_AUTH_GRPC_URL=localhost:7000 $BUILD_DIR/mainflux-ws &
|
||||
|
||||
###
|
||||
# MQTT
|
||||
###
|
||||
MF_MQTT_ADAPTER_LOG_LEVEL=info MF_THINGS_AUTH_GRPC_URL=localhost:7000 $BUILD_DIR/mainflux-mqtt &
|
||||
MG_MQTT_ADAPTER_LOG_LEVEL=info MG_THINGS_AUTH_GRPC_URL=localhost:7000 $BUILD_DIR/mainflux-mqtt &
|
||||
|
||||
###
|
||||
# CoAP
|
||||
###
|
||||
MF_COAP_ADAPTER_LOG_LEVEL=info MF_COAP_ADAPTER_PORT=5683 MF_THINGS_AUTH_GRPC_URL=localhost:7000 $BUILD_DIR/mainflux-coap &
|
||||
MG_COAP_ADAPTER_LOG_LEVEL=info MG_COAP_ADAPTER_PORT=5683 MG_THINGS_AUTH_GRPC_URL=localhost:7000 $BUILD_DIR/mainflux-coap &
|
||||
|
||||
trap cleanup EXIT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user