Code Monkey home page Code Monkey logo

microservices-app's Introduction

nvm install 16.17.0

Frontend

npm run dev (any)

NPM Custom package

npm publish --access public

npm version patch

npm run build

npm publish

npm install @scriptmotor/common

npm update @scriptmotor/common

Docker

Make sure docker is running.

docker images (any)

docker ps (any)

docker build -t (image_id/image) .

docker push (image_id/image) (any)

docker run -p PORT:PORT melmore123/notifications (any)

docker logs (image_id)

Kubectl

kubectl get pods (any)

kubectl log (pod)

kubectl describe pod (pod_name)

kubectl get pods -o wide

kubectl create secret generic jwt-secret --from-literal=JWT_KEY=asdf

kubectl get secrets

kubectl delete pod (pod_id) (any)

kubectl apply -f

kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.8.2/deploy/static/provider/cloud/deploy.yaml

kubeadm init --kubelet-insecure-tls

kubectl exec -it pod_id_name sh (any) (shell)

kubectl rollout restart deployment (image)

kubectl get nodes (any)

kubectl config view

kubectl config use-context docker-desktop

Skaffold run app

skaffold dev (dir)

skaffold delete (dir)

Chrome security bypass

type: thisisunsafe

NATS Streaming Server

Jest Unit Test

npm run test (test dir)

Mongo

….

Redis

redis-commander

Bull

Pipenv

conda deactivate (optional)

pip3 install --user pipenv (dir)

export PATH="/path/to/pip:$PATH"

export PIPENV_VENV_IN_PROJECT=1 (dir)

pipenv install --python 3.11 (dir)

pipenv shell (dir)

pipenv run (dir)

Flask

flask db init

flask db migrate

flask db upgrade

GCloud

Troubleshoot Build History Error Reporting Logs Explorer

Deployment Digital Ocean

brew install dolt

doctl auth init --context

doctl account get

doctl kubernetes cluster kubeconfig save <cluster-id|cluster-name> [flags]

microservices-app's People

Contributors

ifelse- avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.