Merhaba Dünya

Ramazan Altıntop 2024-01-28 21:28:45
Categories: Tags:

Hexo‘ya hoşgeldin! Bu senin ilk gönderin. Daha fazla bilgi için dökümantasyonu inceleyebilirsin. Hexo kullanırken herhangi bir problemle karşılaşırsan, probleminin cevabını burada bulabilirsin yada GitHub üzerinde bize sorabilirsin.

Hızlı Başlangıç

Yeni bir gönderi oluşturun

1
2
$ hexo new <post-title>         # create new post
$ hexo new "My New Post"

Yeni bir sayfa oluşturun

1
$ hexo new page <page-title>    # create new page

Daha fazla bilgi için: Writing

Sunucuyu çalıştır

1
2
$ hexo s                        # [server] starts a local server
$ hexo server

Daha fazla bilgi için: Server

Statik dosyaları oluştur

1
2
$ hexo g                        # [generate] generate static files
$ hexo generate

Daha fazla bilgi için: Generating

Uzak sitelere dağıtın

1
2
3
4
$ hexo d                        # [deploy] deploy to github
$ hexo g -d # deploy after generation finishes
$ hexo g -d -m "message"
$ hexo deploy

Daha fazla bilgi için: Deployment

Önbellek dosyasını ve oluşturulmuş dosyaları temizleyin

1
$ hexo clean                    # cleans the cache file (db.json) and generated files (public)

Blogunuzu Github üzerinde dağıtın

1
2
3
$ npm install hexo-deployer-git --save
$ hexo g
$ hexo d # deploy