# Absolute beginner

**URL:** https://talk.jekyllrb.com/t/absolute-beginner/5189
**Category:** Help
**Created:** [November 6, 2020, 8:33am UTC](https://talk.jekyllrb.com/t/absolute-beginner/5189 "2020-11-06T08:33:43Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![raphaelbolius](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/raphaelbolius/32/2906_2.png) [@raphaelbolius](https://talk.jekyllrb.com/u/raphaelbolius)
#### Post date: [November 6, 2020, 8:33am UTC](https://talk.jekyllrb.com/t/absolute-beginner/5189/1 "2020-11-06T08:33:43Z")

</div>

Hi, community  
just starting my very first Jekyll site. 😉 Therefore I have a lot of questions. The most important one for rhe moment is: How do I start a website not locally but on a server in order to be displayed in the web. Something like that: https;[//example.com](https://example.com)

Om [https://jekyllrb.com/docs/step-by-step/01-setup/](https://jekyllrb.com/docs/step-by-step/01-setup/) I only see instructions in order to start a local site. Has anybody got a link for further information?

thanks  
rabo

---

<div class="post-metadata">

### Author: ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)
#### Post date: [November 6, 2020, 10:56am UTC](https://talk.jekyllrb.com/t/absolute-beginner/5189/2 "2020-11-06T10:56:11Z")

</div>

Hello and welcome

This is a helpful community so ask when you get stuck but also look at the Jekyll docs and the older forum posts with a search.

When you run Jekyll locally, you typically run

```auto
jekyll serve

```

You can add options like `--trace` for error details and `--livereload` to reload the page when you save a file change.

Another way to run Jekyll locally is

```auto
jekyll build
cd _site
python3 -m http.serve 8000

```

And then view in your browser as `localhost:8000`

Once you have the output of HTML files and other assets, you don’t need Jekyll to live as a server or even installed where the site is serving from

You can move your site directory somewhere for nginx or apach to serve it locally.

You can build it on your remote server on AWS with Jekyll and serve it there with nginx. You can use FTP to move it somewhere and serve it.

The easiest way to get started with a remote server is to add your content to master on github pages. Including a homepage index.md file and a config file. No build step necessary, no build output to commit. Just push your site to GitHub and enable GitHub Pages on your repo’s settings.

You can take this quickstart and click Use this template.

> **[MichaelCurrin/jekyll-blog-demo](https://github.com/MichaelCurrin/jekyll-blog-demo)**
>
> Base for a static website blog - built with Jekyll and the default theme - MichaelCurrin/jekyll-blog-demo

---

<div class="post-metadata">

### Author: ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)
#### Post date: [November 6, 2020, 11:01am UTC](https://talk.jekyllrb.com/t/absolute-beginner/5189/3 "2020-11-06T11:01:47Z")

</div>

I have an even simpler site here

> **[MichaelCurrin/simplest-jekyll](https://github.com/MichaelCurrin/simplest-jekyll)**
>
> A minimal Jekyll-based site on GH Pages, reduced to one page of content with a theme - MichaelCurrin/simplest-jekyll

Both samples on live on GH Pages for free and if you have a custom domain like [example.com](http://example.com) you can find a tutorial to set that up too.

---

<div class="post-metadata">

### Author: ![raphaelbolius](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/raphaelbolius/32/2906_2.png) [@raphaelbolius](https://talk.jekyllrb.com/u/raphaelbolius)
#### Post date: [November 6, 2020, 11:03am UTC](https://talk.jekyllrb.com/t/absolute-beginner/5189/4 "2020-11-06T11:03:12Z")

</div>

Hi Michael,  
thaks for the answer, but maybe I explained wrongly what I want. 😉 I am web designer / developer and a client asked me to code his next project with jekyll due to short loading times. OK. so I will do that. I do not seem to be that difficult.

But what I do not understand at all: All the descriptions on how to start a project are about local development. But I want to show the site in the web under a domain. Therefore - sooner or later - I will have to upload it to my server. So what I am looking for is how to upload/ activate a website on a server, not locally.

I hope I could explain my idea. English is not my first language… sorry.  
rabo

[UPDATE]  
Maybe I got it all wrong. I am used to code either HTML or WordPress. In both cases, I upload files to my server by FTP. In case of WordPress I connect to the database via PHP. (short version… 😉 )

So what is different in Jekyll? Do I have to upload it to GitHub? …Just push your site to GitHub and enable GitHub Pages on your repo’s settings…

I do not understand one word. Sorry, I think I have a basic problem of undertanding it right from the start. Maybe you can help me in that case.  
Thanks  
[/UPDATE]

---

<div class="post-metadata">

### Author: ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)
#### Post date: [November 6, 2020, 11:10am UTC](https://talk.jekyllrb.com/t/absolute-beginner/5189/5 "2020-11-06T11:10:12Z")

</div>

You can go to step 10 of the tutorial you linked

> **[Deployment](https://jekyllrb.com/docs/step-by-step/10-deployment/)**
>
> In this final step we’ll get the site ready for production.

Note the part where it links to CI. So you could use GitHub Actions or CircleCI or Jenkins etc. to build and publish your site.

* * *

It is up to you how to do this. Jekyll just makes a folder of files - you need to choose where to run it and serve from.

You might leave out CI and just run this locally

```auto
jekyll build

```

And then copy the files in `_site` to your server with FTP. Or maybe use AWS to copy the files to S3 using the browser or using the aws CLI. And then restart Nnginx or Apache.

I would highly recommend using GitHub Pages or Netlify to build and serve your site and then you can put a custom domain on top. But if you really want a separate server that you own then follow notes above.

---

<div class="post-metadata">

### Author: ![raphaelbolius](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/raphaelbolius/32/2906_2.png) [@raphaelbolius](https://talk.jekyllrb.com/u/raphaelbolius)
#### Post date: [November 6, 2020, 11:13am UTC](https://talk.jekyllrb.com/t/absolute-beginner/5189/6 "2020-11-06T11:13:03Z")

</div>

OK, thanks. The problem seems to be, that I think in wrong structures (classical HTML…), therefore I cannot resolve the problem.

---

<div class="post-metadata">

### Author: ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)
#### Post date: [November 6, 2020, 11:18am UTC](https://talk.jekyllrb.com/t/absolute-beginner/5189/7 "2020-11-06T11:18:45Z")

</div>

Okay I see your part about Wordpress.

In Jekyll there is no PHP server or database. Only HTML (and images, JS and CSS files).

If you want to build your site locally and then upload using FTP, that sounds like it will work for you. I do that with one of my sites. I don’t even have to restart Apache - the changes are there immediately.

The FTP approach doesn’t need GitHub at all. It is convenient though to share your code on github even in a private repo for your team.

The FTP approach takes manual effort and is an old fashioned way. So maybe you start with that and then move to GitHub + GitHub Pages later. Because simply committing on GitHub or pushing code to GitHub will trigger a build for you. I often edit my GH Pages sites on my phone. I don’t have to touch FTP or Nginx care about building and moving code as it is all all automated.

---

<div class="post-metadata">

### Author: ![raphaelbolius](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/raphaelbolius/32/2906_2.png) [@raphaelbolius](https://talk.jekyllrb.com/u/raphaelbolius)
#### Post date: [November 6, 2020, 11:25am UTC](https://talk.jekyllrb.com/t/absolute-beginner/5189/8 "2020-11-06T11:25:00Z")

</div>

OK, thanks. I see. Maybe i will hire someone to arrange everything for the first time. Later on he can explain me, what he did. That will be the fastest way. 😉

The coding itself - as I heard - is more or less the same like “nomal” HTML/ CSS stuff. In that case, the start is the only problem now. 😉

Thanks anyway.

---

<div class="post-metadata">

### Author: ![rdyar](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/rdyar/32/710_2.png) [@rdyar](https://talk.jekyllrb.com/u/rdyar)
#### Post date: [November 6, 2020, 4:18pm UTC](https://talk.jekyllrb.com/t/absolute-beginner/5189/9 "2020-11-06T16:18:19Z")

</div>

when you run `jekyll build` (or serve) it will create all the html files for your site - and your entire site will be in the \_site folder. This would be the classical html you mention. You can take everything in there and ftp it or copy to where ever you want. So if you are already doing that with what you are doing now it should be the same thing.

Using GH for hosting, or using a CI or putting it on AWS S3 are all good options too and can be a little easier once you understand how it all works.

---

<div class="post-metadata">

### Author: ![roadie](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/roadie/32/2431_2.png) [@roadie](https://talk.jekyllrb.com/u/roadie)
#### Post date: [November 7, 2020, 9:33am UTC](https://talk.jekyllrb.com/t/absolute-beginner/5189/10 "2020-11-07T09:33:24Z")

</div>

you need to upload everything in your jekyll \_site folder to the root folder on your server the way you have always done with ftp (probably sftp). thats it.

---

<div class="post-metadata">

### Author: ![raphaelbolius](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/raphaelbolius/32/2906_2.png) [@raphaelbolius](https://talk.jekyllrb.com/u/raphaelbolius)
#### Post date: [November 9, 2020, 11:22am UTC](https://talk.jekyllrb.com/t/absolute-beginner/5189/11 "2020-11-09T11:22:32Z")

</div>

Hi roadie,  
OK that is good news. 😉 But what means everything? Lets say, I just want to craete a very simple website. In HTML it would have - lets say - two pages and a style.css. The pages would be:

- index.html (content: “Hello world”)
- a subfolder and inide of it another site e.g.- subsite1.html (content: “I am a subsite”)
- style.css(content: body, div, p {font-size: 12px; color: #000;} )

So if you just tell me which files i have to upload in such a case, I think, I can continue on my own.

thanks  
Raphael

[UPDATE] Both of my hosters denied, that I can run Jekyll on a shared server. They said, that I will have to rent my own server. That is nor very helpfull, cause it is both expensive and needs much more work then just bookiing a shared hosting.

So if there is any possibility of avoiding to rent a server for running Jekyll in the web, please inform me.  
[/UPDATE]

---

<div class="post-metadata">

### Author: ![rdyar](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/rdyar/32/710_2.png) [@rdyar](https://talk.jekyllrb.com/u/rdyar)
#### Post date: [November 9, 2020, 4:54pm UTC](https://talk.jekyllrb.com/t/absolute-beginner/5189/12 "2020-11-09T16:54:04Z")

</div>

you run jekyll locally - not on the server.

When you run jekyll build or jekyll serve it will create a \_site directory at the root of your project - have you seen that? that has your rendered site, you would take everything there and ftp it to your server/host.

---

<div class="post-metadata">

### Author: ![rabo](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@rabo](https://talk.jekyllrb.com/u/rabo)
#### Post date: [November 19, 2020, 7:45pm UTC](https://talk.jekyllrb.com/t/absolute-beginner/5189/13 "2020-11-19T19:45:02Z")

</div>

Hi everybody,  
thank you for all these answers so far. Unfortunately, I had no real success until now. My main problem is the first steps. Once this is done I will mostly work in CSS. This is no problem for me. But until now I always worked on PHP based CMSs. That is why I can’t proceed. ☹

So I did another trial today. Once again I had an error message. I would be very glad if you could have a look at the messages I received on the Mac terminal. They are stored here. [https://pastebin.com/TNMnZmSZ](https://pastebin.com/TNMnZmSZ)

What is my problem?

Thank you!  
Raphael

---

<div class="post-metadata">

### Author: ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)
#### Post date: [November 19, 2020, 9:10pm UTC](https://talk.jekyllrb.com/t/absolute-beginner/5189/14 "2020-11-19T21:10:21Z")

</div>

Look at the recommendation just before the error 1 line

```auto
brew install ruby-dev

```

---

<div class="post-metadata">

### Author: ![rabo](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@rabo](https://talk.jekyllrb.com/u/rabo)
#### Post date: [November 19, 2020, 9:29pm UTC](https://talk.jekyllrb.com/t/absolute-beginner/5189/15 "2020-11-19T21:29:47Z")

</div>

> [@MichaelCurrin](#):
>
> `brew install ruby-dev`

Hi Michael,  
Thanks, but unfortunately I am not used to working with the console. So I cannot understand what the messages mean,

Lets start with detailed questions:

1. line 6: WARNING: You don’t have /Users/raphaelbolius-catalina/.gem/ruby/2.6.0/bin in your PATH,

What does that mean? How can I change that in order to eliminate this warning?

If I can change that, I suppose the result will be better. (?)

1. I do not find any line that has the content you quote:  
`brew install ruby-dev`  
Where is that written??

* * *

I am now trying since 10 days or more to have a result. But I do not. So maybe it would be better to ask somebody who is familiar with that kind of installing to help me. either by Skype or by teamviewer.

How much time it would take a pro to do that approximately? Knowing that I might ask on freelancer,com for help. Maybe that is better than investing more time in a task I cannot resolve. (?)

Thanks  
Raphael

---

<div class="post-metadata">

### Author: ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)
#### Post date: [November 20, 2020, 8:51am UTC](https://talk.jekyllrb.com/t/absolute-beginner/5189/16 "2020-11-20T08:51:21Z")

</div>

From this

```auto
You might have to install separate package for the ruby development
environment, ruby-dev or ruby-devel for example.
 
extconf failed, exit code 1

```

So run the brew line I sent and then gem install line as before should work.

---

<div class="post-metadata">

### Author: ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)
#### Post date: [November 20, 2020, 8:53am UTC](https://talk.jekyllrb.com/t/absolute-beginner/5189/17 "2020-11-20T08:53:25Z")

</div>

It looks like you did run this.

```auto
echo 'export PATH="$HOME/.gem/ruby/2.6.0/bin:$PATH"' >> ~/.bash_profile

```

So f you reload the terminal and do gem install line again, you should not get the warning about path.

BTW The PATH setup matters for executing bundler and Jekyll from anywhere and won’t stop an install.

---

<div class="post-metadata">

### Author: ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)
#### Post date: [November 20, 2020, 8:57am UTC](https://talk.jekyllrb.com/t/absolute-beginner/5189/18 "2020-11-20T08:57:53Z")

</div>

You have my email. I haven’t seen any messages recently but I can help on a video call if you are still stuck

---

<div class="post-metadata">

### Author: ![rabo](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@rabo](https://talk.jekyllrb.com/u/rabo)
#### Post date: [November 20, 2020, 9:24am UTC](https://talk.jekyllrb.com/t/absolute-beginner/5189/19 "2020-11-20T09:24:15Z")

</div>

Hi Michal,  
thank you in the first place. 😉  
Then: Oh myGod. The whole thing is a nightmare. I am used to install Wordpress and start working on the code. Now I try to install Jekyll since 10 days.

I had several offers of different freelancers that say, that they can do it, but they need approx. 6 hours to install Jekyll on my machine and connect it to an URL. Ist that right? I cannot believe it and rather think they want to earn lots of money in a short tie.

OK, to make it short:

1. YES I would gladfully accept your offer of helping me directly. But remember: I have no glue about the whole topic. I never used the command line before and I do not know what is a gem and so on. SORRY!

2. I suppose after that one is finished, I will have to learn a lot about the command line and all of that stuff. I already learned a lot of things in computing so that will be no problem. but just now, I have no idea…

THANKS!  
Raphael

---

<div class="post-metadata">

### Author: ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)
#### Post date: [November 20, 2020, 9:59am UTC](https://talk.jekyllrb.com/t/absolute-beginner/5189/20 "2020-11-20T09:59:12Z")

</div>

Thanks for the clarity. It has hard to remember my first time using command line and using Jekyll

If you get no more errors after the current one is solved with brew then I think you are set and don’t need help installing Jekyll and certainly won’t take 6 hours.  
Regarding connecting to a URL, you want to do that separate from your machine. Like use a free service like Netlify or GH Pages to build your site and put your bought domain on top of it. Any self hosted server will be more troublesome - and once someone helps you set it up you won’t be able to work on it alone.  
And you probably have experience with setting up a domain that has a folder for serving and using FTP to move the content there and that you won’t need an expert to do for you.

Once you have Jekyll installed, you only need to use a build command and a serve command. The deploy using CI or FTP or something can then be figured out.

I think more of the learning will be around syntax and pattern for Jekyll templating. Your knowledge of HTML, CSS and JS will be useful and you can stick to basic Jekyll functionality initially

[Next page](https://talk.jekyllrb.com/t/absolute-beginner/5189.md?page=2)
