Skip to content

SungchulLee/statistics_book_writing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local Setup Guide for Statistics

This document explains how to set up, run, and preview this documentation locally using Git and MkDocs Material, step by step, for beginners.


Prerequisites

You need:

  • Python 3.8+
  • Git
  • Internet connection (for first-time installation)

Check Python:

python --version

Step 1. Install Git

Git is required to track changes and save your work history.

Check if Git is already installed

git --version

If a version number appears, Git is already installed.

Install Git

macOS

xcode-select --install

or

brew install git

Ubuntu / Debian

sudo apt update sudo apt install git

Windows

  • Install Git for Windows
  • Use Git Bash as your terminal

Step 2. Install MkDocs Material

Install MkDocs and the Material theme:

python -m pip install mkdocs-material

Verify installation:

mkdocs --version

Step 3. Move to the Project Directory

Navigate to the directory where mkdocs.yml exists.

cd /path/to/your/project

Check files:

ls

You should see:

mkdocs.yml docs/ 

Step 4. Save Your Work Using Git

Stage all changes:

git add .

Commit with a meaningful message:

git commit -m "docs: update markdown content"

Step 5. Run MkDocs Local Server

Start the local server:

mkdocs serve

You should see:

Serving on http://127.0.0.1:8000/ 

Step 6. View in Web Browser

Open your browser and go to:

http://127.0.0.1:8000/ 
  • Changes update automatically
  • Stop the server with Ctrl + C

Summary

Step Purpose
Install Git Version control
Install MkDocs Material Documentation tool
Move to project folder Required to run MkDocs
Commit changes Save progress
mkdocs serve Preview locally
Browser View site

Happy writing ✨

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages