nvm install 16.17.0
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
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 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 dev (dir)
skaffold delete (dir)
type: thisisunsafe
…
npm run test (test dir)
….
redis-commander
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 db init
flask db migrate
flask db upgrade
Troubleshoot Build History Error Reporting Logs Explorer
brew install dolt
doctl auth init --context
doctl account get
doctl kubernetes cluster kubeconfig save <cluster-id|cluster-name> [flags]