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

Add DO one-click app introduction post #64

Merged
merged 1 commit into from Feb 4, 2019

Conversation

Projects
None yet
2 participants
@rgee0
Copy link
Member

rgee0 commented Feb 2, 2019

Signed-off-by: Richard Gee richard@technologee.co.uk

@rgee0 rgee0 force-pushed the rgee0:oneClick branch 2 times, most recently from 4891338 to 2f1a241 Feb 2, 2019

dark_background: false
---

I've written previously about how you can be [up and running in 5 minutes](/blog/deploy-digitalocean-ansible.md) with OpenFaaS on DigitalOcean. With the news this week that DigitalOcean are now offering an OpenFaaS One-click application this time shortens further and increases the number of cost effective ways in which to run OpenFaaS on DigitalOcean:

This comment has been minimized.

@alexellis

alexellis Feb 2, 2019

Member

Explain that we collaborated with DigitalOcean to provide the one-click image. (this makes it more deliberate and shows it was a partnership)


* A DigitalOcean account

An obvious pre-req is a [DigitalOcean](https://www.digitalocean.com/) account. A DigitalOcean account with $100/60 days of credit can be [created here](https://m.do.co/c/2962aa9e56a1). This provides a generous amount of credit with the most economic Droplet size being just $5 a month.

This comment has been minimized.

@alexellis

alexellis Feb 2, 2019

Member

Which referral link is this?

This comment has been minimized.

@rgee0

rgee0 Feb 2, 2019

Author Member

It should be the same one as the Ansible post.


[Log in](https://cloud.digitalocean.com/login) to your DigitalOcean account and head over to the create button, which details the products currently being offered by DigitalOcean. The One-click apps reside under Droplets.

![Create button menu](/images/digitalocean-one-click/create-button.png)

This comment has been minimized.

@alexellis

alexellis Feb 2, 2019

Member

Good screenshots. What size are these roughly?

Stack file written: hello-digitalocean.yml
```

* Rename `hello-digitalocean.yml` to `stack.yml`:

This comment has been minimized.

@alexellis

alexellis Feb 2, 2019

Member

Not about the blog, but should we change the CLI to look first for stack.yml then any YAML file found in the directory to stop people having to rename to stack.yml in every blog post / guide?

This comment has been minimized.

@rgee0

rgee0 Feb 2, 2019

Author Member

Depends how people lay out their functions. If they have multiple functions / multiple ymls in the same top level folder then I'm not sure what this behaviour would look like.


* For questions, comments and suggestions follow us on [Twitter @openfaas](https://twitter.com/openfaas) and join the [Slack community](https://docs.openfaas.com/community).

* Learn how to contribute on YouTube: [How To Contribute to OpenFaaS](https://www.youtube.com/watch?v=kOgHjU38Efg)

This comment has been minimized.

@alexellis

alexellis Feb 2, 2019

Member

Can we do a video embed? Does that work on here? @johnmccabe ?

This comment has been minimized.

@alexellis

alexellis Feb 4, 2019

Member

Can you do the embedding?

title: "Announcing DigitalOcean's OpenFaaS One-click"
description: Earlier this week saw the release of the first OpenFaaS One-click application on DigitalOcean. Richard Gee guides you through just how simple it is to create your first OpenFaaS function on DigitalOcean.
date: 2019-02-02
image: /images/digitalocean-one-click/balance-macro-ocean.jpg

This comment has been minimized.

@alexellis

alexellis Feb 2, 2019

Member

Please see my guidelines for resizing the lead image to ~= 280KB in the README.md

This comment has been minimized.

This comment has been minimized.

@rgee0

rgee0 Feb 2, 2019

Author Member

I was trying to be more subtle than a picture of an ocean. Quite liked the idea of a stack in the foreground.

@rgee0 rgee0 force-pushed the rgee0:oneClick branch 3 times, most recently from 6655b2f to b0cb496 Feb 2, 2019

@rgee0

This comment has been minimized.

Copy link
Member Author

rgee0 commented Feb 2, 2019

I've also updated the credit text on the original post since this post links back.

@rgee0 rgee0 force-pushed the rgee0:oneClick branch 2 times, most recently from d65871d to 8d74a8e Feb 2, 2019

Add DO one-click app introduction post
Signed-off-by: Richard Gee <richard@technologee.co.uk>

@rgee0 rgee0 force-pushed the rgee0:oneClick branch from 8d74a8e to ee86640 Feb 2, 2019

> Replace the `rgee0` prefix with your own Docker hub account name so as to enable the ensuing `push` action.
```sh
$ faas-cli new --lang=python --prefix=rgee0 hello-digitalocean

This comment has been minimized.

@alexellis

alexellis Feb 4, 2019

Member

Can you do python3 given the deprecation notice?

@alexellis alexellis merged commit 97727a7 into openfaas:master Feb 4, 2019

alexellis added a commit that referenced this pull request Feb 4, 2019

Comments from #64
- moved "  " double space to single space to match style used
in posts so far
- updated intro
- made YouTube link into an embedded snippet
- moved from python2.7 to Python3
- "the Droplet" heading -> "your Droplet"

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
@alexellis

This comment has been minimized.

Copy link
Member

alexellis commented Feb 4, 2019

Richard please can you resize these images to 50%? They look huge and out of proportion on my local environment (Safari)

Alex

screenshot 2019-02-04 at 12 58 43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment