export GCLOUD_PROJECT=$DEVSHELL_PROJECT_ID
gcloud app create --region "us-central"
# SonarQube | |
https://docs.sonarsource.com/sonarqube/latest/try-out-sonarqube/?_gl=1*4hkicz*_gcl_aw*R0NMLjE3MDg0MDIxNzkuQ2p3S0NBaUFsY3l1QmhCbkVpd0FPR1oyU3dnVHlEMm1vOGZDN2FQU3VsVHJxOWQ3Tjd1djB6S3B0eHlicGlXanFuc25PX0YwenRPcDhCb0NMblVRQXZEX0J3RQ..*_gcl_au*ODQ4MDc3MDI4LjE3MDg0MDIxNzk.*_ga*NzMxOTMyNzk4LjE3MDg0MDIxNzk.*_ga_9JZ0GZ5TC6*MTcwODQwMjE3OC4xLjEuMTcwODQwNjQ0Ni4yMy4wLjA. | |
``` | |
docker run -d --name sonarqube -e SONAR_ES_BOOTSTRAP_CHECKS_DISABLE=true -p 9000:9000 sonarqube:latest | |
``` |
Run command | |
docker ps | |
### get container id | |
docker kill <container_id> | |
# Initializing Nuxt Frontend | |
`npm init nuxt-app <front-end>` | |
# Install dependencies | |
`npm i firebase @nuxtjs/firebase ` | |
## Go to Firebase and generate firebase web sdk |
# Create the mynetwork network | |
resource "google_compute_network" "mynetwork" { | |
name = "mynetwork" | |
# RESOURCE properties go here | |
auto_create_subnetworks = "true" | |
} |
# Use the official lightweight Node.js 12 image. | |
# https://hub.docker.com/_/node | |
FROM node:12-slim | |
# Create and change to the app directory. | |
WORKDIR /usr/src/app | |
# Copy application dependency manifests to the container image. | |
# A wildcard is used to ensure copying both package.json AND package-lock.json (when available). | |
# Copying this first prevents re-running npm install on every code change. | |
COPY package*.json ./ | |
# Install production dependencies. |
# Miscellaneous | |
*.class | |
*.lock | |
*.log | |
*.pyc | |
*.swp | |
.DS_Store | |
.atom/ | |
.buildlog/ | |
.history |
#!/bin/bash | |
# Authored by John Paulo Mataac | |
if [[ 0 > 0 ]] | |
then echo "Exiting... Please run as root" | |
exit | |
fi |
# https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta8/aio/deploy/recommended.yaml | |
# Copyright 2017 The Kubernetes Authors. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |