install dokku, visit in browser to complete install genrate ssh key for github actions/dokku server using ssh-keygen, and copy the private key to the github repo secrets.
dokku apps:create front-end
import subprocess | |
from random import randrange | |
from flask import Flask | |
def create_app(): | |
app = Flask(__name__) | |
@app.route('/') | |
def create_container(): | |
container_id = randrange(1000,9000) |
import "fmt" | |
import "os" | |
import "log" | |
import ( | |
"database/sql" | |
_ "github.com/lib/pq" | |
) | |
func main() { |
import stripe | |
import os | |
STRIPE_API_KEY = os.getenv("STRIPE_API_KEY") | |
stripe.api_key = STRIPE_API_KEY | |
accounts = stripe.Account.list(limit=3) | |
for account in accounts.auto_paging_iter(): | |
if ( |
package main | |
import "github.com/stripe/stripe-go/v74" | |
import "github.com/stripe/stripe-go/v74/account" | |
import "encoding/json" | |
import "fmt" | |
import "os" | |
func main() { | |
stripe_api_key := os.Getenv("STRIPE_API_KEY") |
dokku trace:on
for run https://github.com/KarmaComputing/testapp/actions/runs/4436620363/jobs/7785270827#step:7:1310Dokku issue: dokku/dokku#5743
...redacted logs from https://github.com/KarmaComputing/testapp/blob/ff73f4603f036af5cd0b49f44b97dff377a3cc3f/.github/workflows/pr-preview.yml#L20-L37
...
2023-03-16T11:40:29.6371345Z ##[group]Run set -x