Membuat Blog Menggunakan Pelican dan Tema Bootstrap3
Membuat Environment Kerja Baru¶
Sebelum menginstal Pelican ada baiknya membuat virtual environment pada area kerja anda untuk mencegah inner-conflict atau kerusakan pada global environment python yang sudah ada. Untuk itu digunakan tool virtualenv.
virtualenv
dapat dengan mudah diinstal menggunakan pip.
pip install virtualenv
Kemudian untuk membuat virtual environment di area kerja anda gunakan command berikut ini:
virtualenv ~/myproject/project_pelican ##contoh area kerja anda
cd ~/myproject/project_pelican ##masuk ke area kerja
source bin/activate ##aktivasi area kerja
NB: pada artikel ini semua command dipanggil menggunakan terminal pada OS Linux, terdapat begitu banyak resource yang dapat anda pelajari secara mandiri tentang bagaimana menggunakan utilitas terminal pada OS Windows ataupun macOS (macOS relatife sama dengan Linux).
Instal Pelican¶
Lalu instal Pelican menggunakan pip pada area kerja
python -m pip install pelican
untuk upgrade pelican
python -m pip install --upgrade pelican
Pelican Quickstart¶
Setelah Pelican terinstal pada area kerja yang diinginkan, saatnya memulai membangun blog anda.
pelican-quickstart
perintah ini akan memunculkan beberapa pertanyaan awal mengenai website yang akan ada bangun.
Berikut adalah daftar pertanyaan dan jawaban yang harus anda isikan: