website icon indicating copy to clipboard operation
website copied to clipboard

how-i-setup-my-website/

Open utterances-bot opened this issue 3 years ago • 24 comments
trafficstars

How I Setup My Website

Having Fun with Technology

https://christitus.com/how-i-setup-my-website/

utterances-bot avatar Oct 07 '22 15:10 utterances-bot

Where is the homepage stored. asin which file is it?

orbitalmartian8 avatar Oct 07 '22 15:10 orbitalmartian8

Great job!

llsaboya avatar Oct 07 '22 17:10 llsaboya

Thank you for this Guide Chris - I've been putting together a blog with Grav to use as a reference for my University students, but after seeing your workflow, I'm definitely going to give Hugo a look.

ckbrewer33 avatar Oct 08 '22 02:10 ckbrewer33

First of all, there is no guide for a total beginner how to start with Hugo. I suppose that I must find it elsewhere. I am very experienced IT user. I watched the video, I have read whole article and it is totally unclear how to start with Hugo. Does it require a separate git account? Does it require an account at Netlify? Should I have a server with Linux, nginx, apache or anything else to work with Hugo? Or can I use a simple hosting, like dreamhost, bluehost, that offer a WordPress installation without having a Linux server (I do not have time to maintain one more Linux server, I was doing it in the past, secured it etc., but no, thanks.) So where should I start to be able to create a site with Hugo and without need to have a server? Just do not like waste my time like you.

sysadmin-info avatar Oct 08 '22 05:10 sysadmin-info

Use your current github account, create a netlify account, and then just create the website using the guide. Any CLI will work you can use Windows powershell if you want, terminal in linux or mac as well. Just make sure you have hugo installed.

There is no "host" per se. Netlify distributes it via CDN and its static so you

First of all, there is no guide for a total beginner how to start with Hugo. I suppose that I must find it elsewhere. I am very experienced IT user. I watched the video, I have read whole article and it is totally unclear how to start with Hugo. Does it require a separate git account? Does it require an account at Netlify? Should I have a server with Linux, nginx, apache or anything else to work with Hugo? Or can I use a simple hosting, like dreamhost, bluehost, that offer a WordPress installation without having a Linux server (I do not have time to maintain one more Linux server, I was doing it in the past, secured it etc., but no, thanks.) So where should I start to be able to create a site with Hugo and without need to have a server? Just do not like waste my time like you.

ChrisTitusTech avatar Oct 08 '22 14:10 ChrisTitusTech

What are your thoughts on Javascript frameworks?

ghost avatar Oct 08 '22 15:10 ghost

Use your current github account, create a netlify account, and then just create the website using the guide. Any CLI will work you can use Windows powershell if you want, terminal in linux or mac as well. Just make sure you have hugo installed.

There is no "host" per se. Netlify distributes it via CDN and its static so you

First of all, there is no guide for a total beginner how to start with Hugo. I suppose that I must find it elsewhere. I am very experienced IT user. I watched the video, I have read whole article and it is totally unclear how to start with Hugo. Does it require a separate git account? Does it require an account at Netlify? Should I have a server with Linux, nginx, apache or anything else to work with Hugo? Or can I use a simple hosting, like dreamhost, bluehost, that offer a WordPress installation without having a Linux server (I do not have time to maintain one more Linux server, I was doing it in the past, secured it etc., but no, thanks.) So where should I start to be able to create a site with Hugo and without need to have a server? Just do not like waste my time like you.

Thanks. I did it. There will be only a time needed to put a converted content from WordPress to md files into Hugo. But then it will take much less time to put a new content as a post into the website. Very efficient and convenient.

sysadmin-info avatar Oct 14 '22 22:10 sysadmin-info

Awesome video along with the Hugo video - thank you so much. I confess to stealing your template and modding it for myself. I have paired mine up with Obsidian as my editor ... works so well....

PapaHawk14 avatar Oct 21 '22 02:10 PapaHawk14

Can the explain a bit more how to add the utterances bot to my Hugo website installation?

bocciaman avatar Oct 25 '22 04:10 bocciaman

when trying to host the website through netlify I get build error saying ../zzo/assets/sass/main.scss:1:18": Invalid CSS. How to resolve this error?

t4technow avatar Dec 01 '22 11:12 t4technow

Enable SCSS in the config file

Sent from Proton Mail mobile

-------- Original Message -------- On Dec 1, 2022, 12:12, Mohammed Murshid wrote:

when trying to host the website through netlify I get build error saying ../zzo/assets/sass/main.scss:1:18": Invalid CSS. How to resolve this error?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

ghost avatar Dec 02 '22 20:12 ghost

Error: Error building site: TOCSS: failed to transform "main_parsed.scss" (text/x-scss): "/opt/build/repo/themes/zzo/assets/sass/main.scss:1:18": Invalid CSS after "$grid_max_width:": expected expression (e.g. 1px, bold), was "<no value>;"

This is what I'm getting now. I'm using zzo theme

t4technow avatar Dec 03 '22 09:12 t4technow

Delete that line of scss and check if it will build

Sent from Proton Mail mobile

-------- Original Message -------- On Dec 3, 2022, 10:05, Mohammed Murshid wrote:

Error: Error building site: TOCSS: failed to transform "main_parsed.scss" (text/x-scss): "/opt/build/repo/themes/zzo/assets/sass/main.scss:1:18": Invalid CSS after "$grid_max_width:": expected expression (e.g. 1px, bold), was ";"

This is what I'm getting now. I'm using zzo theme

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

ghost avatar Dec 03 '22 17:12 ghost

It won't work as it is throwing error whenever a variable is used in scss. Has anyone deployed a Hugo site with zzo theme on netlify? @ChrisTitusTech

t4technow avatar Dec 04 '22 06:12 t4technow

I feel like I'm missing something, but we can host this wherever we want since it's bunch of html pages as output at the end right?

pcislocked avatar May 31 '23 19:05 pcislocked

Use your current github account, create a netlify account, and then just create the website using the guide. Any CLI will work you can use Windows powershell if you want, terminal in linux or mac as well. Just make sure you have hugo installed.

There is no "host" per se. Netlify distributes it via CDN and its static so you

First of all, there is no guide for a total beginner how to start with Hugo. I suppose that I must find it elsewhere. I am very experienced IT user. I watched the video, I have read whole article and it is totally unclear how to start with Hugo. Does it require a separate git account? Does it require an account at Netlify? Should I have a server with Linux, nginx, apache or anything else to work with Hugo? Or can I use a simple hosting, like dreamhost, bluehost, that offer a WordPress installation without having a Linux server (I do not have time to maintain one more Linux server, I was doing it in the past, secured it etc., but no, thanks.) So where should I start to be able to create a site with Hugo and without need to have a server? Just do not like waste my time like you.

Thanks a lot Chris! I did not have time to reply. But after studying a lot of your content I was able to do that. First of all I exported the content from WordPress to xml, then I installed a docker container and WordPress on it and set proper values in php.ini file. Imported the xml file to my local WordPress. Why? Well I was not able to setup proper settings in php.ini on the hosting side. Then just installed a hugo exporter plugin in local WordPress in docker container and exported all the content to markdown. Then just had to learn from your website how to set up hugo (the extended version) and how to make it work with github and netlify. I migrated content to hugo. It took mi a 5 business days to make it work. I really appreciate what you did and as always you provide a content that is worth to watch, read and learn. Now it is just a pure pleasure. vim+copilot+markdown and no more wasting time as you mentioned. Cheers.

sysadmin-info avatar Jun 01 '23 09:06 sysadmin-info

It won't work as it is throwing error whenever a variable is used in scss. Has anyone deployed a Hugo site with zzo theme on netlify? @ChrisTitusTech

I did it. You can check my github repository. :) Feel free to contact me directly and I can guide you step by step. Or if you prefer, I can make a tutorial how to do it properly. Chris just did a shortcut. I migrated my website from WP to Hugo. It was quite easy, if you know how to do it.

sysadmin-info avatar Jun 01 '23 09:06 sysadmin-info

I'm just curious how to serve static files like images. I think uploading them on git is really really bad idea.

Migacz85 avatar Jul 01 '23 18:07 Migacz85

Hi,

You can use cdn. Just look for Hugo+cdn and find out how to make it work. It is quite simple.

Kind regards

Adrian

sob., 1 lip 2023, 20:58 użytkownik Marcin Mrugacz @.***> napisał:

I'm just curious how to serve static files like images. I think uploading them on git is really really bad idea.

— Reply to this email directly, view it on GitHub https://github.com/ChrisTitusTech/website/issues/53#issuecomment-1616051224, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFULAOXFYBC4XIGLSNMXRDDXOBXOBANCNFSM6AAAAAAQ7WTER4 . You are receiving this because you commented.Message ID: @.***>

sysadmin-info avatar Jul 05 '23 17:07 sysadmin-info

I'm just curious how to serve static files like images. I think uploading them on git is really really bad idea.

I do exactly that lol, only differrence is I use wordpress with simply static plugin to generate the static pages instead of hugo. Then Cloudflare Pages takes the website copy from there and does its magic stuff to power my website. Around 1.5 gigs of content, no problem so far.

ps: I liked how having a static-only website lets me host it for free on cf so I was looking for some way to manage it "better" i guess(hence my first comment here as i came across it while looking for ways) but I didnt really like hugo, then I found a way to use good old wordpress so i did it.. actual wordpress instance is on a azure server that i use for other stuff but its ports are not exposed to the internet on the firewall, i connect to it with tailscale and do my business then get my static pages and upload them to github

reposted because when i edit it mail doesnt get updated which is how i use git so

pcislocked avatar Jul 05 '23 21:07 pcislocked

Hi,

This thread is about Hugo not about WordPress. Chris currently uses Cloudflare because he has a huge traffic in comparison to my website. I am using Netlify that picks images from github and loads to Netlify cdn. That is why Netlify warns to turn off proxies and other cdn solutions. But you can decide to upload static content directly to cdn and serve only markdown files with Hugo.

Kind regards

Adrian

śr., 5 lip 2023, 23:47 użytkownik pcislocked @.***> napisał:

I'm just curious how to serve static files like images. I think uploading them on git is really really bad idea.

I do exactly that lol, only differrence is I use wordpress with simply static plugin to generate the static pages instead of hugo. Then Cloudflare Pages takes the website copy from there and does its magic stuff to power my website.

— Reply to this email directly, view it on GitHub https://github.com/ChrisTitusTech/website/issues/53#issuecomment-1622570466, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFULAOTUGO7A6HXAEJPMVWDXOXOFPANCNFSM6AAAAAAQ7WTER4 . You are receiving this because you commented.Message ID: @.***>

sysadmin-info avatar Jul 07 '23 06:07 sysadmin-info

Hi, Can you make a article/video about google adsense setup and how was your experience with it? I have been trying for a while now; before it was because the domain was young but now its been more than 6 months yet Google rejects my website.

Thanks & thanks for the insights about your operation. Appreciate it!

mansoorbarri avatar Jul 30 '23 08:07 mansoorbarri

Hi Chris,

I noticed you have a post on how you publish with hugo and Netlify.

Was wondering if you could do a video on your obsidian setup and how you currently have it configured (end of June 2024) to publish to your website from it.

In the obsidian video it's dating from 2022.

I can guess that perhaps you have tweaked your setup since then and would love to try to leapfrog to your current preferred method.

Also, in the obisidan you mention that your pages get published using hugo and Netlify; Do you still use Hugo? Netlify? Have you considered using Ghost?

Does anyone else here have a setup they really enjoy? Simply creating his kanban and articles that get published to Hugo with the markdown?

Would appreciate learning your tricks.

luctrudel avatar Jun 30 '24 01:06 luctrudel

Hi, As far, as I remember Chris had to switch from Netlify to Cloudflare because of the price for the traffic. I am still using newest Hugo and Netlify for my own website and AI am glad. However I am also interested in the current setup Chris, so I think you can make it one day.

Cheers and take care

Adrian

niedz., 30 cze 2024, 03:56 użytkownik Luc Trudel @.***> napisał:

Hi Chris,

I noticed you have a post on how you publish with hugo and Netlify.

Was wondering if you could do a video on your obsidian setup and how you currently have it configured (end of June 2024) to publish to your website from it.

In the obsidian video it's dating from 2022.

I can guess that perhaps you have tweaked your setup since then and would love to try to leapfrog to your current preferred method.

Also, in the obisidan you mention that your pages get published using hugo and Netlify; Do you still use Hugo? Netlify? Have you considered using Ghost?

Does anyone else here have a setup they really enjoy? Simply creating his kanban and articles that get published to Hugo with the markdown?

Would appreciate learning your tricks.

— Reply to this email directly, view it on GitHub https://github.com/ChrisTitusTech/website/issues/53#issuecomment-2198402703, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFULAOQAVG2ISCWGATPPVZLZJ5QTHAVCNFSM6AAAAABKDVH7TGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGQYDENZQGM . You are receiving this because you commented.Message ID: @.***>

sysadmin-info avatar Jul 01 '24 16:07 sysadmin-info