ภาษาไทย
แสดงไทม์ไลน์ของ Google บนเครื่องคอมพิวเตอร์ของคุณ. ดูวีดีโอตัวอย่างที่ https://youtu.be/345UmtRfIDU
การติดตั้งผ่านการใช้คำสั่ง git เป็นวิธีที่แนะนำ เพราะจะง่ายในขั้นตอนอัปเดท. เครื่องของคุณต้องมีโปรแกรม git ติดตั้งพร้อมไว้ก่อนอยู่แล้ว.
- ติดตั้งโดยใช้คำสั่ง
git clone https://github.com/Rundiz/personal-maps-timeline.git .บนโฟลเดอร์ที่คุณต้องการเรียกใช้งานผ่าน web server และ PHP ได้.
- ดาวน์โหลดโดยใช้ปุ่ม Code ด้านบนแล้วเลือก Download Zip.
- แตกไฟล์ออกบนตำแหน่งที่สามารถเรียกใช้ผ่าน web server และ PHP ได้.
หลังจากเลือกว่าจะติดตั้งโดยใช้วิธีใดแล้ว ลำดับต่อมาให้ทำดังต่อไปนี้. เครื่องของคุณต้องมีโปรแกรม Composer ติดตั้งพร้อมไว้ก่อนอยู่แล้ว.
- สร้างฐานข้อมูลบน MariaDB, MySQL แล้วนำเข้าไฟล์ mariadb-structure.sql.
- คัดลอกไฟล์ default.config.php ไปเป็นไฟล์ config.php แล้วแก้ไขตั้งค่าต่างๆ.
- รันคำสั่ง
composer install.
หากคุณติดตั้งผ่านการใช้คำสั่ง git ให้ดำเนินการอัปเดทอัตโนมัติได้ดังต่อไปนี้.
- รันคำสั่ง
git pull.
- ให้ดำเนินการดาวน์โหลดโดยวิธีเดียวกันกับขั้นตอนการติดตั้ง แล้วแตกไฟล์ออกมาทับในตำแหน่งเดิม โดยอาจจะลบไฟล์เก่าทั้งหมดก่อน ยกเว้นไฟล์ config.php เอาไว้ จากนั้นจึงค่อยแตกไฟล์ออกมา.
ไม่ว่าจะดำเนินการติดตั้งหรืออัปเดทด้วยวิธีใด ขั้นตอนสุดท้ายนี้สำคัญเสมอ.
- รันคำสั่ง
composer update.
English (translated by Google Translate)
Show Google Timeline on your computer. Watch the sample video at https://youtu.be/345UmtRfIDU
Installing using git command is the recommended method because it will be easier in the update step. Your machine must have git program installed beforehand.
- Install using the command
git clone https://github.com/Rundiz/personal-maps-timeline.git .on the folder where you want to call it via web server and PHP.
- Download using the Code button above and select Download Zip.
- Extract the file to a location where it can be called via web server and PHP.
After choosing which installation method to use, do the following. Your machine must have Composer program installed beforehand.
- Create a database on MariaDB, MySQL and import the mariadb-structure.sql file.
- Copy the default.config.php file to the config.php file and edit the settings.
- Run the
composer installcommand.
If you installed via git, you can perform automatic updates as follows.
- Run the
git pullcommand.
- Download the same way as the installation steps and extract the files to the original location. You may want to delete all the old files first, except for the config.php file, and then extract the files.
No matter which installation or update method you use, this last step is always important.
- Run the
composer updatecommand.