-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permudah setup impor data awal #58
Permudah setup impor data awal #58
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pendapat sy bgni pak @eddieridwan dan mas @agungsugiarto
Selebihnya sdah sesuai.
'profil_id' => env('DATA_UMUM_PROFIL_ID'), | ||
'kecamatan_id' => config('app.default_profile'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
apa lebih baik colume ini sj yg terisi dan yg lain isinya default???. Nanti pengguna yg sesuaikan sendiri lewat dashboard.
'provinsi_id' => substr($kecamatan_id, 0, 2), | ||
'kabupaten_id' => substr($kecamatan_id, 0, 5), | ||
'kecamatan_id' => $kecamatan_id, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
apa lebih baik colume ini sj yg terisi dan yg lain isinya default???. Nanti pengguna yg sesuaikan sendiri lewat dashboard.
.env.example
Outdated
PROFIL_ALAMAT='Jl. Koperasi No. 1, Kab Lombok Barat, Provinsi Nusa Tenggara Barat' | ||
PROFIL_KODE_POS='83653' | ||
PROFIL_TELEPON='021-2345234' | ||
PROFIL_EMAIL='[email protected]' | ||
PROFIL_TAHUN_PEMBENTUKAN=1990 | ||
PROFIL_DASAR_PEMBENTUKAN='PEREGUB No 4 1990' | ||
PROFIL_NAMA_CAMAT='H. Hadi Fathurrahman, S.Sos, M.AP' | ||
PROFIL_SEKRETARIS_CAMAT='Drs. Zaenal Abidin' | ||
PROFIL_PEMERINTAH_UMUM='Musyayad, S.Sos' | ||
PROFIL_KESEJAHTERAAN_MASYARAKAT='Suhartono, S.Sos' | ||
PROFIL_PEMBERDAYAAN_MASYARAKAT='Asrarudin, SE' | ||
PROFIL_KEPSEK_PELAYAN_UMUM='Masturi, ST' | ||
PROFIL_KEPSEK_TRANTIB='Mastur Idris, SH' | ||
PROFIL_FILE_STRUKTUR_ORGANISASI='Lighthouse.jpg' | ||
PROFIL_FILE_LOGO=NULL | ||
PROFIL_VISI=NULL | ||
PROFIL_MISI=NULL | ||
|
||
# Data Umum | ||
DATA_UMUM_PROFIL_ID=1 | ||
DATA_UMUM_TIPOLOGI='Kecamatan maju namun terpencil.' | ||
DATA_UMUM_KETINGGIAN=1 | ||
DATA_UMUM_LUAS_WILAYAH=0.0 | ||
DATA_UMUM_BTS_WIL_UTARA='Kecamatan A' | ||
DATA_UMUM_BTS_WIL_TIMUR='Kecamatan B' | ||
DATA_UMUM_BTS_WIL_SELATAN='Kecamatan C' | ||
DATA_UMUM_BTS_WIL_BARAT='Kecamatan D' | ||
DATA_UMUM_JML_PUSKESMAS=0 | ||
DATA_UMUM_JML_PUSKESMAS_PEMBANTU=0 | ||
DATA_UMUM_JML_POSYANDU=0 | ||
DATA_UMUM_JML_PONDOK_BERSALIN=0 | ||
DATA_UMUM_JML_PAUD=0 | ||
DATA_UMUM_JML_SD=0 | ||
DATA_UMUM_JML_SMP=0 | ||
DATA_UMUM_JML_SMA=0 | ||
DATA_UMUM_JML_MASJID_BESAR=0 | ||
DATA_UMUM_JML_MUSHOLA=0 | ||
DATA_UMUM_JML_GEREJA=0 | ||
DATA_UMUM_JML_PASAR=0 | ||
DATA_UMUM_JML_BALAI_PERTEMUAN=0 | ||
DATA_UMUM_JML_PENDUDUK=0 | ||
DATA_UMUM_EMBED_PETA='https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d127672.75772082225!2d100.61093321349074!3d-0.27103862950004254!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x2e2ab5bbf8396485%3A0x56587edf579fe503!2sLuak%2C+Kabupaten+Lima+Puluh+Kota%2C+Sumatera+Barat!5e0!3m2!1sid!2sid!4v1557908807791!5m2!1sid!2sid' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mungkin bagian ini bisa di setting di dashboard sja, untuk data awalnya cukup isi data yg penting (seperti kecamatan_id, kabupaten_id, provinsi_id, desa_id yg mmang harus sesuai dgn KD_DEFAULT_PROFIL) dan lainnya beri nilai default agar pengguna tdk terlalu banyak mengubah pd codingannya.
Jd panduan perlu diperbaiki mengenai instalasi awal OpenDK.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bung @agungsugiarto, saya setuju dengan bung @afa28 . Sebaiknya data profil dan data umum diisi oleh petugas melalui aplikasi dan tidak pada konfigurasi. Sebaiknya isi .env
dan seeder dibatasi pada setting yg memang harus ada. Kita ingin proses persiapan memasang OpenDK dibuat semudah mungkin, tanpa perlu terlalu banyak mengutak-atik setting konfigurasi.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@agungsugiarto , mohon lihat komentar.
Baik akan saya sesuaikan |
Sudah saya sesuaikan |
@agungsugiarto terima kasih. Sdh digabung ke
Jadi sekarang, untuk install awal, cukup mengisi |
Permudah setup awal data