Skip to content
PMK-DanielPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Getting Started

Halo teman - teman semua, berikut tutorial untuk menjalakan aplikasi next jsnyaa

Install Package Manager

Teman teman bisa install package manager nodejs dan npm disini yaaa https://nodejs.org/en/download

Menjalankan aplikasi

  • Clone terlebih dahulu github repository
    git clone https://github.com/PMK-Daniel/pmkdaniel.git
  • Buka folder project
    cd pmkdaniel
  • Install package untuk kebutuhan aplikasi
    npm install
  • Selamat mengerjakan!!

Penggunaan Script

  • npm run dev ➡️ Menjalankan website dengan Next.js dan TurboPack
  • npm run build:prod ➡️ Cek format kode pakai Prettier (tanpa ubah), lalu build
  • npm run build:local ➡️ Rapihin dulu semua file, lalu build
  • npm run lint ➡️ Cek semua file .js/.ts/.jsx/.tsx buat cari error style/kode
  • npm run format ➡️ Cek format
  • npm run format:fix ➡️ Auto rapihin semua file

Penggunaan Nama Branch

Untuk nama branch harus menggunakan standar seperti berikut :

  • (nama)-(tipe): (deskripsi)

contoh : jason-feat/navbar

Cara Commit / Push ke Github untuk Update Progresan

- git add .
- git commit -m "feat: adding navbar section"
- git push origin jason-feat/navbar

Harus menggunakan conventional commits!
dengan format tipe: deskripsi

Berikut Tipenya

  • API or UI relevant changes
    • feat Commits, that add or remove a new feature to the API or UI
    • fix Commits, that fix an API or UI bug of a preceded feat commit
  • refactor Commits, that rewrite/restructure your code, however do not change any API or UI behaviour
    • perf Commits are special refactor commits, that improve performance
  • style Commits, that do not affect the meaning (white-space, formatting, missing semi-colons, etc)
  • test Commits, that add missing tests or correcting existing tests
  • docs Commits, that affect documentation only
  • build Commits, that affect build components like build tools, dependencies, project version, ci pipelines, ...
  • ops Commits, that affect operational components like infrastructure, deployment, backup, recovery, ...
  • chore Miscellaneous commits e.g. modifying .gitignore

Cara Pull / Mengambil Data Terbaru dari Github ke Lokal

- git pull
- git pull origin (branch) // untuk pull dari branch lain

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages