va-big-data-genomics / data-release-portal

Source for web portal describing data releases published by the Stanford Data-as-a-Service (DaaS) team.
MIT License
0 stars 0 forks source link

Plan A Prototype #2

Open pbilling opened 11 months ago

pbilling commented 11 months ago

Description of Plan A: https://github.com/orgs/va-big-data-genomics/projects/10/views/1?pane=issue&itemId=37294954.

pbilling commented 11 months ago

Roadmap

I asked the chatbot how to do this. It seems like a decent starting point.

pbilling commented 11 months ago

DEPRECATED Create a basic Quarto notebook (mac)

quarto create project website mysite
quarto preview mysite

It works, I can see it at http://localhost:6893/.

pbilling commented 11 months ago

Dockerize and run using Cloud Run

Following this Google tutorial.

Update: I get an architecture error message trying to install gdebi when building my docker image on my mac. Issue seems to be that package is designed for amd64 and mac silicon uses arm64. So, I'm proceeding by trying to do everything on my GCP virtual machine (also running Debian).

Create a requirements.txt file

Not sure I have any requirements yet.

Create a Dockerfile.

I'm using this as a template even though I'm not using R.

pbilling commented 11 months ago

Create a basic Quarto website (debian)

Install Quarto

sudo apt-get install gdebi-core
sudo gdebi --non-interactive quarto-linux-amd64.deb

Create a project

quarto create project website mysite

Preview site

Not sure how to preview site given that it's running on a remote virtual machine.

pbilling commented 11 months ago

Build a Docker image

Structure of directory where I'm running docker build:

docker build -t quarto-website .