Add root README
This commit is contained in:
27
README.md
Normal file
27
README.md
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user