Build Your Own Free Website Part 4 - Deployment (feat. Netlify)

1, 2, 3Following on from part 2, we're finally going to work on deploying our unfinished but experimental website online with netlify. I've been working on a step-by-step capture for the post, but I made one mistake along the way and have a lot to share with you.

Now, let's get to work on putting our website on the internet for the first time in our lives... and ideally, it'll only take us a little time and we won't have to spend a dime... using these tools!

Sign up for Nelify

netlify


NellyFly is a professional web publishing platform that supports a variety of advanced features to help you deploy web applications efficiently. You can use the service for free for personal projects, hobby sites, and more.
There are several ways to publish content created with Quotes to Netlify.
You can publish content rendered on your machine using the quoto command directly from the terminal, or you can link the source code in your GitHub repository with Nelify so that it is deployed whenever the code changes. In this post, we'll go the latter route.

First, Log in to GitHub in a different tab of the browser you're currently using. Provides free distribution of your website Nelify Homepageto the 'Sign up' Proceed with the signup process. 'Sign up with GitHub' and it will automatically recognize it and proceed with the authentication process.

netlify-signup
[ netlify signup ]

After that, there are a lot of requirements (plans, uses, roles, etc.), so don't worry too much about them, choose a team name, and finally, add the 'Continue to deploy' and continue on to GitHub ('Deploy with GitHub', click 'Authorize Netlify')

authorize-github
[NellyPie integration with GitHub].

It's a lot of work, but it's free, so I just keep going. Select the GitHub repository I already created, install NellyPie, and deploy our project (quarto website in my case). After a few clicks, the deploy success window pops up, and I see 'Get started' in the left sidebar.

Change the site name

Top left 'Site overview' and you'll see a very long website address (https:// ~~~~~~~.netlify.app), which is our website address that Nelify automatically generated for us, but it doesn't look very nice, so let's change it.

As shown below, the 'Site configuration' > 'Site details' > 'Change site name', then click 'Site name' with the name of your choice (it-playground in my case), and then type 'Save' and it will be replaced with the desired address. In my case, it ends up being it-playground.netlify.app.

Now type the new address into your phone or PC browser to check it out. Voila! Page Not Found!(어~ 안되는데? 뭐야~ 이거~ ) 잠깐만요~ ‘뭐가 문제지??? 뭘 빼먹었지???’ (한번에 안된 이유는 나중에 다른 걸로 다시 하면서 체크해 보겠습니다.ㅜㅜ)

So let's start at the beginning again. We'll use RStudio to work with quarto and render the website configuration files, including the html files that result from rendering, in the _site(index.html, etc.). Eventually, you get the feeling that you'll need to do something to make the files in that folder work with netlify, right? See the _site folder in the GitHub repository below?

_site-folder
[ _site folder ]

Blow up your Nelpie setup

Now, back to netlify Site configuration > > Danger zone > > Delete this site and type the name of your site, and then click Delete Click. Our experimental website blows up as soon as we create it (this is the floor... you learn by failing like this~ ).

delete-site
[ Delete site ]

Eat all the hollandaise Team overviewwill display the 'import from Git' You'll see, and then we do what we did before: 'Let's deploy your project.'Deploy with GitHub' > Click GitHub Repository > > Enter a site name > > Check availability Click to see if the website name is available.

import-from-git
[ Import from Git ]

Then scroll down to the Enter '_site' for 'Publish directory'(This part is Jello important!!! The quotation marks ' are not typed, ) and now the real 'Deploy it-playground' to get our website up on the internet. You'll see NellyPie doing stuff automatically, and after a minute or two, you'll see 'Deploy success! 'View site deploy' and you should see your website configuration files in the _site folder.

deploy-website
[ Deploy website ]

Deploy Success

Type ******.netlify.com into your browser's address bar, launch it, and voila! What was only visible locally (on my computer) is now visible on the web as shown in the picture below. (Is this the first website I ever made? Wow~ I can't believe it~) The kids in the picture below are my heart~ ^_^

only-my-website
[ Your own website ].

Today, we've learned how to sign up for Nelify and how to use the GitHub website configuration file (_site folder) and Nelify to get our website up and running on the internet. Did you know it was so easy to have your own website?

Now that we're done building our experimental website, let's take a look at what we can do with it in the real world and how we update it.

Enriching your life with technology Life2.0: IT Playground Terrywas.

All content on 'secondlife.lol' is protected by copyright law. Unauthorized reprinting, copying, distribution, etc. is prohibited.

Similar Posts