Closed cesc1802 closed 1 year ago
# run the micro server
micro server
# set env to local
micro env set local
# login (user: admin pass: micro)
micro login
# run the service
micro run github.com/micro/services/helloworld
If on windows execute as root user in powershell
thank you for your support. Why do we need to run the micro server
first? what is the purpose of this command?
Micro is a platform that provides an abstraction to underlying infrastructure and cloud services; including auth, storage, messaging, etc. The services are run on the Micro platform e.g like an operating system or PaaS. So you must first run the server aka micro server
and then you can instruct it to run services using micro run xxxx
.
See https://micro.dev/docs for more info
micro run github.com/micro/services/helloworld
but I faced with error mentioned in the image