1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.id/common/cake.md

37 lines
801 B
Markdown
Raw Permalink Normal View History

# cake
> Alat baris perintah untuk memproses proyek aplikasi web berbasis framework CakePHP.
> Informasi lebih lanjut: <https://cakephp.org>.
- Tampilkan informasi dasar mengenai proyek aplikasi saat ini beserta daftar perintah:
`cake`
- Tampilkan daftar rute aplikasi web yang tersedia:
`cake routes`
- Hapus berkas-berkas cache konfigurasi proyek:
`cake cache clear_all`
- Bangun berkas cache metadata bagi proyek saat ini:
`cake schema_cache build --connection {{koneksi}}`
- Hapus berkas cache metadata:
`cake schema_cache clear`
- Hapus suatu tabel cache:
`cake schema_cache clear {{nama_tabel}}`
- Jalankan sebuah peladen web untuk kepentingan pengembangan (secara bawaan mengarah menuju port 8765):
`cake server`
- Jalankan sebuah proses REPL (syel interaktif):
`cake console`