trigger.dev icon indicating copy to clipboard operation
trigger.dev copied to clipboard

doc need: creating a new reference project and deploying it locally

Open ericallam opened this issue 1 year ago • 11 comments

We're missing a doc in the repo (ideally at references/README.md) that details how to:

  • Create a new reference project by copying the hello-world reference project
  • Get the dev CLI command running against a local instance of Trigger.dev (e.g. the webapp)
  • Get the deploy CLI command running against a local instance of Trigger.dev by setting up and running the webapp alongside the coordinator and docker-provider:
pnpm run dev --filter webapp --filter coordinator --filter docker-provider

Then deploying it like so:

pnpm exec trigger deploy --self-hosted --load-image

This README should also make sure the CONTRIBUTING.md guidelines are enough to get the webapp running locally.

This new README should be sufficient for a new contributor to come in from scratch and create a new reference project and both run it in dev and deploy it.

ericallam avatar Sep 26 '24 10:09 ericallam

/bounty $100

ericallam avatar Sep 26 '24 10:09 ericallam

💎 $100 bounty • Trigger.dev (YC W23)

Steps to solve:

  1. Start working: Comment /attempt #1362 with your implementation plan
  2. Submit work: Create a pull request including /claim #1362 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to triggerdotdev/trigger.dev!

Add a bountyShare on socials

algora-pbc[bot] avatar Sep 26 '24 10:09 algora-pbc[bot]

/attempt #1362

Algora profile Completed bounties Tech Active attempts Options
@varshith257 13 bounties from 7 projects
TypeScript, Go
Cancel attempt

varshith257 avatar Sep 26 '24 10:09 varshith257

@varshith257: The Trigger.dev (YC W23) team prefers to assign a single contributor to the issue rather than let anyone attempt it right away. We recommend waiting for a confirmation from a member before getting started.

algora-pbc[bot] avatar Sep 26 '24 10:09 algora-pbc[bot]

@ericallam I would like to a step on this . Can I get it assigned?

varshith257 avatar Sep 26 '24 10:09 varshith257

@varshith257 I can't remember how to assign things with Algora or if that's even possible, but here is a gif instead:

bart-simpson-episode-20-gif

ericallam avatar Sep 26 '24 10:09 ericallam

@ericallam I would like to work on it, Can I get it assigned?

Kritik-J avatar Sep 26 '24 11:09 Kritik-J

I've been informed that GitHub has issue assignment built in, and gifs don't count. So I've assigned @varshith257 (and myself), to this issue. @Kritik-J thanks for the offer, but since @varshith257 came first I'll give them a crack at it 🫡

ericallam avatar Sep 26 '24 11:09 ericallam

@ericallam It's fine with gif too 😄

varshith257 avatar Sep 26 '24 12:09 varshith257

@varshith257 any updates?

ericallam avatar Sep 30 '24 15:09 ericallam

@ericallam Will draft PR soon

varshith257 avatar Sep 30 '24 16:09 varshith257

/attempt #1362

tarunps avatar Oct 14 '24 12:10 tarunps

@Wackyator: Another person is already attempting this issue. Please don't start working on this issue unless you were explicitly asked to do so.

algora-pbc[bot] avatar Oct 14 '24 12:10 algora-pbc[bot]

/attempt #1362

lostinvsc avatar Oct 17 '24 14:10 lostinvsc

@lostinvsc: Another person is already attempting this issue. Please don't start working on this issue unless you were explicitly asked to do so.

algora-pbc[bot] avatar Oct 17 '24 14:10 algora-pbc[bot]

He is taking too much time

lostinvsc avatar Oct 17 '24 14:10 lostinvsc

@Wackyator how are things going with this issue? Anything I can help with?

ericallam avatar Oct 17 '24 14:10 ericallam

@ericallam I've mentioned something in the discord thread that I require some help on, I've created a draft PR for the time being.

tarunps avatar Oct 17 '24 16:10 tarunps

💡 @Wackyator submitted a pull request that claims the bounty. You can visit your bounty board to reward.

algora-pbc[bot] avatar Oct 18 '24 09:10 algora-pbc[bot]

🎉🎈 @Wackyator has been awarded $100! 🎈🎊

algora-pbc[bot] avatar Oct 18 '24 15:10 algora-pbc[bot]