cindercinthesis / cindercinthesis.github.io

Blog
https://wowthemesnet.github.io/mediumish-theme-jekyll/
MIT License
0 stars 0 forks source link

Initialize forked template for own contents #1

Open cindercinthesis opened 2 months ago

cindercinthesis commented 2 months ago

In this issue, I initialize the forked template to prepare for the upload of my own content.

cindercinthesis commented 2 months ago

Today I spent the whole day (from 6:50 to now, 18:13) dealing with issues of this website. But I'm glad to have removed some big initial obstacles.

  1. I modified Gemfile and Gemfile.lock so that the same repo can be used, and bundle exec jekyll serve can be successfully executed on both my work laptop (Sonoma 14.6.1, Apple M3) and personal laptop (Big Sur 11.4.0, Intel). I was only able to install Ruby 3.1.2 on my work laptop through Rosetta, otherwise rbenv would not work.

    Files that partially logged the process are (local to work laptop):

    • Log - Set up Jekyll on new work mac Sonoma.md (/Users/zlxcindy/Desktop/Personal/Log - Set up Jekyll on new work mac Sonoma.md)
    • Log - Partial code and output history on 09/09/24.md (/Users/zlxcindy/Desktop/Personal/Log - Partial code and output history on 09:09:24.md)
  2. I modified the contents and layouts of most files as a starter. One step closer to my dream website, but these things take time and I'm not hurrying myself. I'm proud of moving forward with this gift for myself.

  3. When I tried to push local changes to origin branch 1, ERROR: Permission to cindercinthesis/cindercinthesis.github.io.git denied to linxicindyzeng kept occurring. I generated a new pair of SSH keys for cindercinthesis, and copied the entire ~/.ssh directory to my personal laptop.

    ChatGPT says:

    Switching Between Accounts Since each account is tied to a different SSH key and the host configurations (github.com and github-second), Git will automatically use the correct account based on the repository you’re working on.

    Manual Switch ssh -T git@github.com for linxicindyzeng ssh -T git@github-cindercinthesis for cindercinthesis

  4. It might actually be a good idea to first use the branch as a main, and let the unmodified master remain on the internet.

  5. Remember to unpublish the website every time you finish.

  6. This week's quota on working on this website is used up. I may continue working on it after Friday ('s meeting with Matt about independent research).