Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S3 bucket #120

Merged
merged 2 commits into from
May 4, 2024
Merged

S3 bucket #120

merged 2 commits into from
May 4, 2024

Conversation

nexmoe
Copy link
Owner

@nexmoe nexmoe commented May 4, 2024

No description provided.

nexmoe added 2 commits May 4, 2024 10:52
Add new function `allS3` to upload module images to S3 bucket if not already uploaded.
Update the Nuxt config to include S3 credentials.
Update module gallery component to display S3 image if available.
Update scheduler to run `allS3` every 3 hours.

# Please enter the commit message for your changes. Lines starting 
# with '#' will be ignored, and an empty message aborts the commit. 
# On branch main
# Your branch is ahead of 'origin/main' by 1 commit.
#   (use "git push" to publish your local commits) 
# Changes to be committed:
#       modified:   server/flowing.ts
#       modified:   nuxt.config.ts
#       modified:   components/module/Gallery.vue
#       modified:   server/plugins/scheduler.ts
#       modified:   prisma/schema.prisma
#       modified:   .gitignore
#       modified:   pnpm-lock.yaml
Uploaded images to S3 in 'allS3' function and added success and error messages using 'consola'. Added conditional check in 'startScheduler' to only run 'allS3' if S3 access key is provided.
Copy link

vercel bot commented May 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
roam-space ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 4, 2024 3:12am

@nexmoe nexmoe merged commit 55ead43 into main May 4, 2024
3 checks passed
@nexmoe nexmoe deleted the s3-bucket branch May 4, 2024 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant