Create a Static Website Using Jekyll

Generate a Static Site

Great! Now that Jekyll is installed, let's generate your website.

To do so, we'll use Jekyll's new command and specify a directory name. The directory will contain all of your site's default content that can be customized later.

For example, to generate a website in a directory called my-portfolio-site, we can type:

jekyll new my-portfolio-site

The command will create a directory called my-portfolio-site and fill it with Jekyll's site content.

Note: We'll use the directory name my-portfolio-site in examples throughout the course. Don't worry about the details of the directory structure just yet, we'll give an overview in the upcoming exercises.

Community Forums
Get help and ask questions in the Codecademy Forums
Report a Bug
If you see a bug or any other issue with this page, please report it here.