Skip to content

gear-tech/builds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

161 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Builds

Nightly Status

Prebuilt binaries

https://get.gear.rs

Local preview with Docker / Podman

1. Build image

podman build -t gear-builds-local .

2. Install Node dependencies inside the container

podman run --rm -it \
  -v "$PWD":/app:Z \
  -w /app \
  gear-builds-local \
  sh -c "npm install"

3. Generate src/builds.json from S3

Make sure .env contains the AWS configuration, then pass it into the container:

podman run --rm -it \
  --env-file .env \
  -v "$PWD":/app:Z \
  -w /app \
  gear-builds-local \
  sh -c "npm run gen:builds"

This will create/update src/builds.json based on objects in the configured S3 bucket.

4. Run local dev server and open the page

podman run --rm -it \
  -v "$PWD":/app:Z \
  -w /app \
  -p 3000:3000 \
  gear-builds-local \
  sh -c "npm run dev"

Then open:

http://localhost:3000

About

Prebuilt Gear binaries

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors