-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New website. Closes #5175 #5184
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
Conversation
docs/template.html
Outdated
| <link href="https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap" rel="stylesheet"> | ||
|
|
||
| <!-- <link href="https://cdn.jsdelivr.net/gh/dokku/dokku@v0.27.4/docs/assets/style.css" rel="stylesheet"> --> | ||
| <link href="./assets/style.css" rel="stylesheet"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be versioned on merge, just fyi.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good. I just wasn't sure what to use currently as the latest css isn't on GitHub. I believe I can safely uncomment the line and the CSS would become available once the PR is merged. Right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once we merge it, I'll need to release to get it out. The workflow here is rough for development :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once we merge it, I'll need to release to get it out. The workflow here is rough for development :(
|
This is great! A few thoughts:
|
|
@josegonzalez I went through the OpenCollective API and I couldn't find a way to get the list of biggest financial contributors. This is the page I am referring to. The issue is that Dokku doesn't have different financial tiers with significant difference. If I go with the "Sponsors" tier, it only returns one org. API url. My personal recommendation is to keep it the way it is for now and if we can figure out a nice way to bridge this gap, we can implement it later. Thoughts? Other than this do you see anything as a blocker for this PR? |
|
Also @josegonzalez thoughts on using "An open source PAAS alternative to Heroku." instead of "The smallest PAAS implementation you have ever seen." and maybe replacing the sub-heading with "Dokku is a single-host PAAS that helps you build and manage the lifecycle of applications." on the homepage? This makes the purpose of Dokku clear and also lists the biggest difference (single-host) in the main heading. |
|
It's not actually single-host, you can use it against Kubernetes or Nomad (the plugins are official). The biggest difference is that you self-host vs having someone else manage it for you. |
|
I was under the impression that it is single host after looking at some articles + a Twitter thread. Don't have the links handy but well, in that case, we can make the sub-heading "Dokku helps you build and manage the lifecycle of applications from building to scaling"? |
|
Yeah thats probably better :) |
|
Made the copy change. I feel like the homepage is missing the context that some asciinema can add. This is also something you recommended in the issue #5175 I am already developing the UI. It is 95% done. @josegonzalez do you think you can record three asciinemas for me? The sooner I get them, the quicker I can turn around and finish it off. I am creating three tabs of "Create", "Deploy" and "Scale". Let me know if you have different naming suggestions :) |
|
I can do that, most likely wednesday. |
|
Added Asciinema tabs on homepage that will showcase the create, deploy, and ship steps. Latest screenshot attached below. I went about a slightly round-about way of implementing asciinema because if I embedded the script directly as suggested by asciinema, the player has the height of 0 for the embeds in hidden tabs and so doesn't work when we toggle the hidden tabs. I observed this behavior only on Chrome. Safari and Firefox worked perfectly fine. But quite a few people use Chrome so need to cater to that as well. Before we merge this in, we will need to update the asciinema link based on the recordings you provide me. |
|
@josegonzalez did you get a chance to put something together? :) |
|
@josegonzalez really hoping to get this finalized and merged this month if possible. Let me know if I can help other than recording the asciinema :) |
|
App creation: https://asciinema.org/a/497945 |
|
These can be turned into gifs like so: https://github.com/asciinema/asciicast2gif I wonder if we should do that and have a light/dark version of each gif? |
|
We can also just embed the asciicasts (would be easier to update them long-term that way). |
|
I just linked the casts. I think the default asciinema color scheme goes well with dark + light mode so there is no need to explicitly create separate color versions. And also, like you said, this way future updates will be easier. |
|
@josegonzalez Just fixed the merge conflicts. The branch is ready for review and merge. 👍 You only need to change the stylesheet link before/after merge but that should be the only change required. |
|
@josegonzalez just checking in. Is there anything I can do to help test this and get it merged? :) |
|
Ah sorry. Last week was a bit hectic and I've been recovering. I'll have some time to look at this Wednesday and get it merged :) |
|
Hey @josegonzalez any updates on this? :) |
|
Hi @josegonzalez just checking in. Let me know if I can help in any way to get this done ✅ |
|
Needs a rebase which I was gonna try to do this weekend and ship it for Monday. If you wanna do that, we'll be good :) |
|
Done :) |
# History ## 0.27.9 Install/update via the bootstrap script: ```shell wget https://raw.githubusercontent.com/dokku/dokku/v0.27.9/bootstrap.sh sudo DOKKU_TAG=v0.27.9 bash bootstrap.sh ``` ### Bug Fixes - #5273: @josegonzalez Correct issue where more complex docker args were not properly parsed when scheduling containers - #5272: @josegonzalez Add support for --global as app name when calling config-get trigger - #5263: @alexgleason Update deprecated apt-key command ### New Features - #5262: @josegonzalez Run shfmt against all test files - #5257: @chrisjdixon Move nginx.conf.d includes after all other hard-coded config to allow for overrides ### Other - #5184: @yasoob New website. Closes #5175 - #5270: @dependabot[bot] chore(deps): bump werkzeug from 2.2.0 to 2.2.1 in /tests/apps/python-flask - #5265: @dependabot[bot] chore(deps): bump werkzeug from 2.1.2 to 2.2.0 in /tests/apps/python-flask - #5264: @dependabot[bot] chore(deps): bump sinatra from 2.2.1 to 2.2.2 in /tests/apps/ruby - #5261: @dependabot[bot] chore(deps): bump luizm/action-sh-checker from 0.4.0 to 0.5.0 - #5258: @dependabot[bot] chore(deps): bump sinatra from 2.2.0 to 2.2.1 in /tests/apps/ruby
|
Yeah I'm doing that now. I triggered a patch release as soon as I clicked the merge button. |
|
@yasoob mind going through and doing some qa on the site? |
Hi! I coded a new website for Dokku. It relies on the latest version of Bootstrap. I have attached some screenshots below for what the website looks like after these changes. Bear with me, there are a lot of screenshots. I provided them all here for the sake of completeness.
Also, there are some nice interactions on the homepage which can't be captured in screenshots. I did make use of
prefers-reduced-motionmedia query so that the animations don't run when the user has enabled this setting. I tested it out in Chrome and it works perfectly (i.e disabling the animations).There is also a subtle gradient animation on the code box on the homepage. It is easy to miss if not paying attention 😄
I tried to use css variables wherever I could so that the colors are easy to tweak. You can find the main "theme" colors in the
:rootscoped variable list. It is always hard to come up with variable names so pardon me if some names don't make much sense 🤪 I tried my best. Promise! 🤞I tried not to touch the css of the documentation page but I did modify it slightly to go with the new theme.
I hope people like the website proposal ❤️
Homepage light mode (default)
Homepage dark mode
Homepage on mobile screen
Homepage SVG animation
Tooltip on SVG group hover
If you hover over any of the logos in the SVG, the animation pauses and shows you a tooltip containing the name of the software/company. The logos are also clickable

Tooltip on avatar hover
Hovering over an avatar pauses the animation and shows a tooltip with the name of the user and clicking on the image takes you to their homepage as configured on OpenCollective

Shows menu toggled
Documentation page light mode
Documentation page dark mode