A modern, responsive personal website showcasing research and code projects in legal technology and computational law.
Follow these detailed steps to deploy your website on GitHub Pages:
- Go to GitHub.com and sign in to your account
- Click the "+" icon in the top right corner and select "New repository"
- IMPORTANT: Name your repository exactly as
[your-username].github.io
- For example, if your GitHub username is
johnsmith
, name itjohnsmith.github.io
- This special naming convention tells GitHub to host it as your personal website
- For example, if your GitHub username is
- Set the repository to Public (GitHub Pages requires public repos for free accounts)
- Do NOT initialize with README, .gitignore, or license (since we already have files)
- Click "Create repository"
- After creating the repository, click "uploading an existing file" link
- Drag and drop ALL the files from this folder:
index.html
code.html
styles.css
script.js
README.md
- Write a commit message like "Initial website upload"
- Click "Commit changes"
- Open terminal/command prompt in this folder
- Run these commands:
git init
git add .
git commit -m "Initial website upload"
git branch -M main
git remote add origin https://github.com/[your-username]/[your-username].github.io.git
git push -u origin main
- Go to your repository on GitHub
- Click on "Settings" tab (in the repository, not your profile settings)
- Scroll down to "Pages" section in the left sidebar
- Under "Source", select "Deploy from a branch"
- Under "Branch", select "main" (or "master" if that's your default)
- Leave the folder as "/ (root)"
- Click "Save"
- GitHub will take 5-10 minutes to build and deploy your site
- Your website will be live at:
https://[your-username].github.io
- You can check the deployment status in the "Actions" tab of your repository
Before deploying, you should update these placeholders with your actual information:
- Replace "Jonathan H. Choi" with your name
- Update the bio and description with your information
- Add your actual social media links (GitHub, LinkedIn, Twitter, Email)
- Update the research projects with your actual projects
- Replace project descriptions with your actual projects
- Add real GitHub repository links
- Update project years and technologies used
- Add links to your actual papers and documentation
Search for href="#"
in both HTML files and replace with your actual links:
- GitHub:
https://github.com/[your-username]
- LinkedIn:
https://linkedin.com/in/[your-profile]
- Twitter:
https://twitter.com/[your-handle]
- Email:
mailto:your-email@example.com
If you want to use a custom domain (like www.yourname.com
):
- Purchase a domain from a registrar (Namecheap, GoDaddy, Google Domains, etc.)
- In your repository, create a file named
CNAME
(no extension) - Add your domain name to this file (e.g.,
www.yourname.com
) - Configure your domain's DNS settings:
- Add a CNAME record pointing to
[your-username].github.io
- Or add A records pointing to GitHub's IP addresses (see GitHub docs for current IPs)
- Add a CNAME record pointing to
index.html
- Main homepagecode.html
- Projects and code portfolio pagestyles.css
- All styling and responsive designscript.js
- Interactive features and animationsREADME.md
- This file with instructions
- Fully responsive design (mobile, tablet, desktop)
- Smooth scrolling navigation
- Interactive hover effects
- Clean, modern aesthetic
- Fast loading and optimized performance
- No external dependencies (except Font Awesome icons)
After initial deployment, to make changes:
- Edit the files locally
- If using GitHub web interface:
- Go to the file in your repository
- Click the pencil icon to edit
- Make changes and commit
- If using Git:
git add . git commit -m "Description of changes" git push
- GitHub Pages will automatically update within a few minutes
-
Site not loading?
- Check that repository name is exactly
[username].github.io
- Wait 10-15 minutes after first deployment
- Check GitHub Pages settings are enabled
- Check that repository name is exactly
-
Changes not showing?
- Clear browser cache (Ctrl+Shift+R or Cmd+Shift+R)
- Wait 5-10 minutes for GitHub to rebuild
-
404 Error?
- Ensure
index.html
is in the root directory - Check file names are lowercase
- Verify GitHub Pages source settings
- Ensure
If you encounter any issues, check:
- GitHub Pages documentation: https://docs.github.com/en/pages
- Your repository's Actions tab for build errors
- GitHub Status page: https://www.githubstatus.com/
Feel free to use this template for your own personal website!
Last updated: 2024