az login --use-device-code
az account list
[
{
"cloudName": "AzureCloud",
"homeTenantId": "1d31*888888888888*d1",
"id": "e14444444444444a1a687",
"isDefault": true,
"managedByTenants": [],
"name": "Azure subscription 1",
"state": "Enabled",
"tenantDefaultDomain": "dmy44444444t.com",
"tenantDisplayName": "Default Directory",
"tenantId": "144444441d1",
"user": {
"name": "dm44444444.com",
"type": "user"
}
}
]
az account show --output table
account show --output table
EnvironmentName HomeTenantId IsDefault Name State TenantDefaultDomain TenantDisplayName TenantId
----------------- ------------------------------------ ----------- -------------------- ------- --------------------------------------- ------------------- ------------------------------------
AzureCloud 1d3********************************d1 True Azure subscription 1 Enabled dm********************************.com Default Directory 1d*************************d1
terraform output -raw sp_password > secureadmin
To install MongoDB, run the following command in your macOS Terminal application
brew install mongodb-community@7.0
The installation includes the following binaries:
-
The
mongod
server -
The
mongos
sharded cluster query router -
The MongoDB Shell,
mongosh
Intel Processor configuration file
/usr/local/etc/mongod.conf
/usr/local/var/log/mongodb
/usr/local/var/mongodb
Apple Silicon Processor
/opt/homebrew/etc/mongod.conf
/opt/homebrew/var/log/mongodb
/opt/homebrew/var/mongodb
brew services list
brew services start mongodb-community@7.0
brew services stop mongodb-community@7.0
mongodb git:(nextjs-docker) ✗ mongosh
Current Mongosh Log ID: 666a8f5cafb1a67a700a25d4
Connecting to: mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.2.6
Using MongoDB: 7.0.11
Using Mongosh: 2.2.6
For mongosh info see: https://docs.mongodb.com/mongodb-shell/
------
The server generated these startup warnings when booting
2024-06-13T08:18:50.841+02:00: Access control is not enabled for the database. Read and write access to data and configuration is unrestricted
------
rs.initiate({_id:"rs0", members: [{_id:0, host:"127.0.0.1:27017", priority:100}, {_id:1, host:"127.0.0.1:27018", priority:50}, {_id:2, host:"127.0.0.1:27019", arbiterOnly:true}]})
{ ok: 1 }
git commit -m "fix: correct minor typos in code"
git commit -m "feat: add new user login functionality"
git commit -m "chore: update npm dependencies"
git commit -m "docs: update README with new instructions"
git commit -m "style: format code with Prettier"
git commit -m "refactor: extract utility functions for reuse"
git commit -m "perf: optimize database query performance"
git commit -m "test: add unit tests for authentication module"
git commit -m "build: update webpack configuration"
git commit -m "ci: update TravisCI config to run tests on latest Node versions"
git commit -m "revert: revert 'feat: add new user login functionality'"
helm install argo-cd argo/argo-cd --values argo-cd/my-values.yaml server.insecure: true