oban-bg / oban

💎 Robust job processing in Elixir, backed by modern PostgreSQL and SQLite3
https://oban.pro
Apache License 2.0
3.28k stars 308 forks source link

Improve documenation and expand guides #850

Open sorentwo opened 1 year ago

sorentwo commented 1 year ago

Replace much of README with Overview and expanded guides.

Introduction

Cheatsheets

Learning

andygimma commented 1 year ago

@sorentwo Do you want a hand with this? I’d love to help make Livebook docs a reality for Oban.

sorentwo commented 1 year ago

Help is welcome!

andygimma commented 1 year ago

Sounds good! How would you like for me to start? I could set up a livebook and create a draft for the "Getting Started" section.

If you have something else in mind let me know.

sorentwo commented 1 year ago

I could set up a livebook and create a draft for the "Getting Started" section.

That sounds perfect 👍

andygimma commented 1 year ago

Ok! I'll plan on starting mid-week. Hopefully I'll have the first draft by the weekend.

andygimma commented 1 year ago

@sorentwo Do you plan on using a hosting service or running Livebook on a server? I'm working on the Getting Started section on fly.io, but the free version runs out of memory quickly.

andygimma commented 1 year ago

Livebook offers installation to fly.io and huggingface.co.

sorentwo commented 1 year ago

Do you plan on using a hosting service or running Livebook on a server?

Personally, no, but I'm sure others would like to.

I'm working on the Getting Started section on fly.io, but the free version runs out of memory quickly.

Which part is running out of memory? The Elixir server or the Postgres instance? The Oban Web demo runs on two shared-1x-cpu instances with 256MB of RAM, so I'd be surprised that a getting-started guide is running out of memory.

andygimma commented 1 year ago

Fly.io's free tier is running out of memory. I had to pause to find out where to host the docs and whether or not a paid plan was needed.

Screenshot 2023-06-13 at 5 08 53 PM Screenshot 2023-06-13 at 5 09 07 PM
sorentwo commented 1 year ago

Ok. So that's without actually running anything other than Livebook and a Mix.install. Well, people will still be able to run it locally at least.

andygimma commented 1 year ago

Ok, I'll focus on setting it up locally.

andygimma commented 1 year ago

Sorry for the delay, things got a little hectic on my end.

So I’ve copied the introduction doc into a Livebook doc, as a way to begin the conversation.

I wonder if Livebook adds any extra value to the existing documentation that you already have. Maybe Livebook would be more useful for particularly difficult use cases. Or maybe you want to implement all documentation into Livebook, so it all lives in one place. Let me know how you’d like to move forward.

As for availability, I will be around every other Sunday through September, and then I can devote more time to this. I think we could use these next few weeks as a way to experiment and nail down the Livebook implementation details.

Below is a screenshot of the Intro page.

livebook-1

sorentwo commented 1 year ago

I imagined something a bit more demonstrative for the "Getting Started" Livebook. Rather than reimplementing the setup guides, it would install and configure Oban and then demonstrate practical usage like writing worker modules, enqueueing jobs, etc.

Hajto commented 11 months ago

Would you mind me giving you some help on this?

sorentwo commented 11 months ago

Would you mind me giving you some help on this?

@Hajto Not at all, help is welcome!