diff --git a/README.md b/README.md new file mode 100644 index 0000000..b71e238 --- /dev/null +++ b/README.md @@ -0,0 +1,27 @@ +# FE_CPONE + +Repo frontend CPONE. + +## Bootstrap clone baru + +Jalankan dari root repo: + +```bash +./scripts/devcpone-bootstrap.sh +``` + +Setelah itu: + +- `core.hooksPath` akan diarahkan ke `.githooks` +- hook `post-commit` akan aktif +- commit di branch `master` akan otomatis sync ke: + +```text +one@devcpone.aplikasi.web.id:/home/one/project/one/one-ui/ +``` + +## Catatan + +- Sync hanya mengirim file yang berubah di commit terakhir +- Delete tidak di-mirror ke remote +- Folder baru ikut terkirim bersama isi file barunya