28 lines
508 B
Markdown
28 lines
508 B
Markdown
# 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
|