Skip to content

Instantly share code, notes, and snippets.

@asim
Created February 7, 2020 15:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asim/03d30ce0a8b61aa44b3b3be6720ccc91 to your computer and use it in GitHub Desktop.
Save asim/03d30ce0a8b61aa44b3b3be6720ccc91 to your computer and use it in GitHub Desktop.
The new service page

New Service

Create a new service

Service Name: fooba___________

Your service will be created in github.com/micro/services/fooba

Next steps

Login to the platform, create your service and build it

# login to the platform
micro login --platform

# checkout the micro monorepo
git clone --no-checkout https://github.com/micro/services

# create your new service
cd services && micro new foobar

# build the service
micro build foobar

Now push your service to GitHub and run it

# Commit and push
git add foobar
git commit -m "New foobar service"

# Run the service
micro run foobar --platform
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment