Skip to content

tannerr-dev/data-dash

Repository files navigation

Data Dash

an application for analyzing sales

google OAuth

google OAuth prod Authorized js origins https://data.tannerr.com authorized redirect URIs https://data.tannerr.com/api/login

dev authorized js origins http://localhost:8080 authorized redirect URIs https://localhost:8080/api/login

Build & Deploy Commands

Local:

docker build . -t tannerrhub/data-app:latest
docker push tannerrhub/data-app:latest

VPS:

docker pull tannerrhub/data-app
docker stop data-app
docker run -d --rm --name data-app -e ENV=production -e HTTPS=true -p 8080:8080 --mount type=volume,src=integration-data,target=/app/volume tannerrhub/data-app:latest

Enter container

docker exec -it my_container /bin/bash

Deploy Script Command

chmod +x deploy.sh
VERSION="202509270741" ./deploy.sh

For production, set the environment variable:

export JWT_SECRET="EXAMPLE4e5f6789012345678901234567890abcdef1234567890abcdef123456" For development, just run the app - it will create and reuse .jwt_secret

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors