Skip to content

apps-devs/blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vibrant Health of Colorado - Local Setup

Cara Menggunakan Script Replacement

Script replace_links.sh akan mengubah semua link https://vibranthealthofcolorado.com menjadi path lokal.

Langkah-langkah:

  1. Berikan permission execute pada script:

    chmod +x replace_links.sh
  2. Jalankan script:

    ./replace_links.sh
  3. Jalankan web server lokal:

    python -m http.server 5000
  4. Buka browser dan akses:

    http://localhost:5000
    

Untuk GitHub Pages:

Jika ingin deploy ke GitHub Pages, setelah menjalankan script:

  1. Commit perubahan:

    git add .
    git commit -m "Convert links to local paths"
    git push origin main
  2. Aktifkan GitHub Pages di repository settings

  3. Pilih branch main dan folder / (root)

  4. Website akan tersedia di: https://[username].github.io/[repository-name]

Catatan:

  • Script akan mengubah file HTML, CSS, dan JS
  • Backup file asli jika diperlukan sebelum menjalankan script
  • External links (Google Fonts, Maps, dll) tidak akan diubah

About

Python is a high-level, interpreted, general-purpose programming language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published