daytonaio / content

Daytona Content Programme for Technical Writers
https://www.daytona.io/dotfiles/
Other
67 stars 39 forks source link

Example project to showcase how to use dev env vars in Daytona #29

Open nkkko opened 2 months ago

nkkko commented 2 months ago

Content Type

Article

Article Description

You should write this as an article showcasing daytona env command, you should create small sample repo that will be used to showcase setup of dev envs. Use clean screenshots (no more than 3), always use dark mode/theme.

Target Audience

individual dev

References/Resources

No response

Examples

No response

Special Instructions

No response

nkkko commented 2 months ago

/bounty $50

algora-pbc[bot] commented 2 months ago

💎 $50 bounty • Daytona

Steps to solve:

  1. Start working: Comment /attempt #29 with your implementation plan
  2. Submit work: Create a pull request including /claim #29 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

If no one is assigned to the issue, feel free to tackle it, without confirmation from us, after registering your attempt. In the event that multiple PRs are made from different people, we will generally accept those with the cleanest code.

Please respect others by working on PRs that you are allowed to submit attempts to.

e.g. If you reached the limit of active attempts, please wait for the ability to do so before submitting a new PR.

If you can not submit an attempt, you will not receive your payout.

Thank you for contributing to daytonaio/content!

Add a bounty • Share on socials

Attempt Started (GMT+0) Solution
🔴 @DevGajjar28 Aug 21, 2024, 8:49:46 AM WIP
🟢 @Damilola-Oshungboye Aug 25, 2024, 6:46:49 PM WIP
DevGajjar28 commented 2 months ago

/attempt #29

ThatCoolGuyyy commented 2 months ago

/attempt #29

nkkko commented 2 months ago

@ThatCoolGuyyy any updates?

ThatCoolGuyyy commented 2 months ago

Hi @nkkko. I'm almost done with this, adding final touches.

ThatCoolGuyyy commented 1 month ago

Hi @nkkko. Trust you're good. I've kind of hit a wall with this. I've successfully set up a sample node js process inside daytona and I've set the env using the command.

But when I try to access it, comes back as undefined. I've searched the docs can't see anything that points to this. I tried process.env and ${}. I'll be looking forward to your response. Thanks