pip install google-api-python-client
Key didapatkan dari Google Cloud
def_api_key = 'xxx'
#!/bin/bash | |
# ================================================================ | |
# Script: install-n8n-with-docker.sh | |
# Deskripsi: Menginstal Docker (jika belum ada) dan menjalankan n8n | |
# Usage: | |
# wget https://gist.githubusercontent.com/dirumahrafif/231bdc5047bd5378d470e5dd56067d8a/raw/11d8c8093269531d66cc270ac99b1dced079fcca/install-n8n-dengan-docker.sh | |
# chmod +x install-n8n-with-docker.sh | |
# ./install-n8n-with-docker.sh | |
# ================================================================ |
name: Deploy Laravel to VPS | |
on: | |
push: | |
branches: | |
- '*' | |
jobs: | |
deploy: | |
name: CI/CD to VPS |
version: '3.8' | |
services: | |
pgmaster: | |
image: postgres:15 | |
container_name: pgmaster | |
hostname: pgmaster | |
environment: | |
POSTGRES_DB: mydatabase | |
POSTGRES_USER: myuser |
services: | |
prometheus: | |
image: prom/prometheus | |
container_name: prometheus | |
volumes: | |
- ./prometheus.yml:/etc/prometheus/prometheus.yml | |
ports: | |
- "9090:9090" | |
restart: always |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Data Buku</title> | |
<!-- Bootstrap CSS --> | |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"> | |
<!-- Font Awesome untuk ikon --> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> |
body, | |
html { | |
background-color: #ccc; | |
margin: auto; | |
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; | |
color: #333; | |
font-size: 15px; | |
} | |
.wrapper { | |
width: 600px; |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
#Loading PHP as if is public/ from / | |
RewriteRule ^$ public/index.php [L] | |
#Loading page as if is public/ from / | |
RewriteRule ^((?!public/).*)$ public/$1 [L,NC] | |
RewriteRule (^\.|/\.) - [F] | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Login with Google</title> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/2.2.19/tailwind.min.css" /> | |
<script src="https://apis.google.com/js/platform.js"></script> | |
</head> |
<!doctype html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<script src="https://cdn.tailwindcss.com"></script> | |
<title>Login</title> | |
</head> |