Skip to content

Latest commit

 

History

History
71 lines (46 loc) · 1.69 KB

README.md

File metadata and controls

71 lines (46 loc) · 1.69 KB

Trash my website by Trigger.dev

Welcome to Trash my website! Try it for free here.

Contributing

web server

First, install dependencies and run the development server:

npm i

For this step, you'll need to create an account on Trigger.dev. You can log in with your GitHub account.

To link the jobs/ directory to Trigger.dev, clone and populate the .env file with your Trigger.dev keys, then run the Trigger.dev CLI:

cp .env.example .env.local
npm run dev

In a separate terminal run:

npx @trigger.dev/cli@latest dev

This may require installing or updating the CLI. When linked, you should see a message like this:

✅ Detected TriggerClient id: jobs-abcd
✅ Found API Key in .env.local file
✅ Created tunnel: abc123.ngrok.app

Open localhost:3000 in your browser to see the result.

Puppeteer Cloudflare worker

cd ./puppeteer

Populate the env vars:

cp .dev.vars.example .dev.vars
npm i
npm run dev

Learn More

To learn more about Trigger.dev, see our Getting Started guide!

You can check out the Trigger.dev GitHub repository - your feedback and contributions are welcome!