WordPress Demo
ផ្នែកនេះនឹងណែនាំអ្នកពីរបៀបដើម្បី clone WordPress Demo ពី GitHub របស់យើង ហើយអាចដំណើរការនៅលើ local របស់អ្នក។
1. Cloning from GitHub
ដើម្បី clone WordPress Demo របស់យើង គ្រាន់តែចូលទៅកាន់ GitHub repository របស់យើង។ GitHub repository- បើក terminal របស់អ្នក ឬ command prompt
- ចូលទៅកាន់ directory ដែលអ្នកចង់រក្សាទុក repository ដែលបាន clone
- Run the following command: git clone https://git.anakotlab.com/cgds/cgds-wordpress-theme.git
2. Installing Packages and Building the Rachana Block Plugin
ដើម្បីដោះស្រាយកំហុសរចនាប័ទ្មនៅក្នុង Rachana blocks និងធានាថា plugin ត្រូវបានតំឡើងយ៉ាងត្រឹមត្រូវ សូមអនុវត្តតាមជំហានទាំងនេះ ៖- បើក project ហើយចូលទៅកាន់ Rachana Block៖ cd plugins/rachana-block/
- បន្ទាប់មក run the following command: npm install
- បន្ទាប់មកទៀត run the following command: npm run build
3. Setting Up and Running the Project
- នៅក្នង project folder, run the following command: docker compose up or docker compose up -d
- បន្ទាប់ពីនោះ Rachana WordPress Demo គួរតែអាចចូលប្រើបាននៅ http://localhost:10033/
![](/assets/img/rachana-demo.png)