GitXplorerGitXplorer
d

ai-playground-d1cloud-io

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
ad868849647a6af2e952721be77300263781bf6c

update ai plugin

ddorra committed 10 months ago
Unverified
894065764bf6042d31be902435801abaca9226ee

Update links in index.erb

ddorra committed 10 months ago
Unverified
6a37cb7769fb226ed2c4730f22153c931e0fa362

Add link to Netflix Analytics Assistant

ddorra committed 10 months ago
Unverified
22e2adc4bd3c095265a52f85e911ea8aa2d24a4d

Add plaintext option to paste in Redactor toolbar

ddorra committed 10 months ago
Unverified
9813690dbc46b9dfb541f0008dabd0bb47d2060e

Refactor prompt_combined.txt to improve clarity and update task instructions

ddorra committed 10 months ago
Unverified
6c631bed43f0dcae2f077869fc9bfeb909dcb38f

Update modified image URL to handle both HTTP and HTTPS

ddorra committed 10 months ago

README

The README file for this repository.

ai-playground-d1cloud-io

Development

  • Generate Gemfile.lock if it does not exist yet: docker run --rm -v "$PWD":/app -w /app ruby:3.2.2 bundle install
  • Add your production arch (e.g. aarch64-linux) to your bundle: docker run --rm -v "$PWD":/app -w /app ruby:3.2.2-slim bundle lock --add-platform aarch64-linux
  • Build the image: docker build -t versacommerce/versa-vision-versacloud-io --target development .
  • Run the container and mount working dir into it: docker run --rm -p 3000:3000 -v "$(pwd)":/app versacommerce/versa-vision-versacloud-io

Production (kamal)

ATTENTION

  • kamal requires curl in the Docker image for kamal
  • build-essential, git, pkg-config are required in the Docker image to be able to build gems with native extensions
  • Depending on the gems, more packages might be required (e.g. default-libmysqlclient-dev)

Before initial deploy

  • Set up kamal: kamal setup

Deployment

  • Push env changes: kamal env push
  • Deploy: kamal deploy

Access

Access this container via tailscale with: ssh root@ai-playground-d1cloud-io

Access this container via cloudflare with: