Live data from Hacker News

Netlify Dev

netlify.com

221–230 of 237 posts

Re: Netlify Dev

#221
post #90
post #31

Can anyone explain the elevator pitch of Netlify to me? I know it's become quite popular in the last couple of years and I can't figure out why. I don't doubt that it's good at what it does, but it seems to do the same thing as any number of services. For example, I see a lot of people talk about it for static sites. But you get free static sites through GitHub, nearly free static sites on Amazon S3. What does Netlif…

From one perspective it’s web hosting from the 00’s using git repos instead of FTP, and adding a couple of neat APIs as add-on products. Your build process can also be codified into Netlify instead of doing it all locally and pushing your final assets. But that would be missing the point. It’s the promise that they’ll handle things for you. You don’t need to know how to configure a web server, ha proxy, systemd, fire…

So it's shared hosting without the PHP?

I'm sold.

Re: Netlify Dev

#222
post #218

Anybody found a good CMS solution for static sites? I love everything about gatsby/Hugo/etc on Netlify but the lack of good CMS with out of the box SEO tools for writers to easily publish is a no go for my clients. Tried Netlify CMS and it unfortunately required way too much work to compete with the full featured Wordpress setup my editorial clients are used to.

https://forestry.io/ (hugo) https://www.contentful.com/ (used this with jekyll)

+1 for Contentful with Gatsby. Painless setup.

Re: Netlify Dev

#223

Earlier quoted context omitted.

If you're not aware, you get most of that for free with GitHub pages: https://pages.github.com/ It deploys when you push, is based on Jekyll, and GitHub handles all of the hosting/HTTPS/caching themselves.

Gitlab too does this, along with free unlimited private repos & published static sites; html n Jekyll n all. Just a happy user.

Gitlab also lets you generate them with whatever you want as it just publishes a result from CI to the pages system

Re: Netlify Dev

#224
post #219

My issue with netlify is the lack of data or analytics about traffic. I cannot even see the number of visits ! That's why I use GitHub + cloudflare.

Is that something that could be solved with Google Analytics, Mixpanel?

Google analytics gives very bad results, given the number of people using content blockers. I just want the number of unique visitors, I don't care about tracking or anything.

Re: Netlify Dev

#225

Netlify is amazing: 1. Free 2. Good support 3. Custom domains with SSL 4. Takes care of most important backend stuff (forms and webhooks) 5. Functions (Lambda with zero config needed) 6. Abstracts server stuff like [redirects]( https://www.netlify.com/docs/redirects/ ) Lambda and redirects are the best. I can just put my scripts in a folder and they automagically work. In my LinkedIn profile my website address is not…

> 1. Free ... 4. Takes care of most important backend stuff (forms and webhooks) From my reading of https://www.netlify.com/pricing/#forms you will need to pay $19/month/site (!) just to collect the data from 1000 form submissions. By the time you have a couple of sites like this the price is already way too much for me and anyone else with basic backend knowledge. I hope I've misunderstood.

If you have a lot of form submissions on a static site you can elect to use Mailchimp for capturing responses.

They give you the ability to have 2,000 contacts in the system at one time for free.

Re: Netlify Dev

#226
post #85

Earlier quoted context omitted.

One feature I haven't seen in the comments here is the ability to just drag and drop an entire website folder from your harddisk to Netlify and it's live within seconds. Which worked great for a couple of older personal websites I had. Second feature that is great is that you can use the cli to perform a draft deploy, which generates a unique public URL which you can share with your testers/marketeers/writers/transla…

> One feature I haven't seen in the comments here is the ability to just drag and drop an entire website folder from your harddisk to Netlify and it's live within seconds. Which worked great for a couple of older personal websites I had. How is this different than `aws s3 sync local/ s3://your-website.com`?

The big win for me, and the reason I use Netlify, is that it gives you atomic deploys without any effort. `aws s3 sync` works fine in most cases, but its not atomic, so if you want to make sure what you're deploying is going to work for 100% of users all the time you end up having to build something more complex - at the simplest that involves adding a hash to all your files, making sure they're deployed, and only then pushing index.html (and any other entrypoints).

With Netlify I can just hook it up to Github and they'll handle running any build scripts, and then smoothly flip from the previous version to the new one in single action.

Re: Netlify Dev

#227
post #85

Earlier quoted context omitted.

One feature I haven't seen in the comments here is the ability to just drag and drop an entire website folder from your harddisk to Netlify and it's live within seconds. Which worked great for a couple of older personal websites I had. Second feature that is great is that you can use the cli to perform a draft deploy, which generates a unique public URL which you can share with your testers/marketeers/writers/transla…

> One feature I haven't seen in the comments here is the ability to just drag and drop an entire website folder from your harddisk to Netlify and it's live within seconds. Which worked great for a couple of older personal websites I had. How is this different than `aws s3 sync local/ s3://your-website.com`?

seems to be similar, but with some nice add-on features for not that much.

Re: Netlify Dev

#228

Earlier quoted context omitted.

You can do the same with Netlify functions. Here's an example: https://github.com/netlify-labs/netlify-functions-express

That example doesn't serve the main website, like all netlify functions they can only handle requests under the .netlify route for functions https://express-via-functions.netlify.com/.netlify/functions... Whereas on Zeit Now the root of the website can be a web server written in multiple languages, and offer the ability to make your own "Lambda Builder" if necessary https://zeit.co/docs/v2/deployments/builders/overvi…

You can rewrite URLs to serve the main website as well. We're generally bullish on but DJing server side rendering, but a rule like this totally works:

/* /.netlify/functions/app/:splat 200!

Re: Netlify Dev

#229

Netlify is amazing: 1. Free 2. Good support 3. Custom domains with SSL 4. Takes care of most important backend stuff (forms and webhooks) 5. Functions (Lambda with zero config needed) 6. Abstracts server stuff like [redirects]( https://www.netlify.com/docs/redirects/ ) Lambda and redirects are the best. I can just put my scripts in a folder and they automagically work. In my LinkedIn profile my website address is not…

> 1. Free ... 4. Takes care of most important backend stuff (forms and webhooks) From my reading of https://www.netlify.com/pricing/#forms you will need to pay $19/month/site (!) just to collect the data from 1000 form submissions. By the time you have a couple of sites like this the price is already way too much for me and anyone else with basic backend knowledge. I hope I've misunderstood.

For a static site, I think 100 submissions/month for free is probably more than enough for the majority of people. Though going straight to $19/month is a pretty big step if you're just hosting your own personal website/blog.

It's $0,019 per submission, which I think is a fair price if you're actually sending that amount (and making money from it). It would costs you much more to build unless. That said, for personal (free) use there are a lot of alternative options.

Re: Netlify Dev

#230
post #139

Earlier quoted context omitted.

I get this experience using non-netlify-specific tools and processes already. I've also been doing this type of work professionally for 15+ years. If I was just starting out today, netlify would be a huge time saver, at the cost of a ton of knowledge you gain doing it yourself. "But wait...there's more". If you're a new to development or operations, you might be tempted to use something like netlify. If your project…

As someone who works in the amorphous realm of "digital strategy", I was pursuing this exact "learning path" by deploying my personal website on Digital Ocean, where your droplet is a blank slate, and you have to configure everything. Given the number of help threads and spotty documentation I had to look through to deploy a simple Wordpress site, I'd say it was more of a hassle than anything else. Unless you plan on…

Not to turn a Netlify topic into a DigitalOcean topic, but when you created your droplet did you select the pre-built Wordpress option? May have helped you a bit. (I used dokku-wordpress[0] on my dokku imaged server, personally.)

--

0. https://github.com/dokku-community/dokku-wordpress

Post reply on HN