A very basic thincms for building small sites using content management and core PHP approach. Generally i found it difficult when i have to build content management in any web-application. If i choose word-press i have to follow it's rules for creating theme which can be difficult initially a core PHP developer, also i can't code in normal way as beginner can, but i have to follow wordpress rules. So i decided to build my own cms for building sites in core php way but using modern trend that composer provides in PHP community.
Once you clone or download this repository and paste it your server root directory do below steps. Prerequisite to perform below steps: PHP5.5.4 and Composer should be installed in your system.
- navigate to thincms directory from your command prompt.
- Type: composer install
- Type: composer dump-autoload
- Open config/db_config.php file and setup database parameter in PHP array.
- Create database in mysql named thincms.
- Create database structure using db/thincms_structure.sql.
- Open config/ap_config.php and set your default theme in PHP array.
- Navigate to http://localhost/thincms in your browser.
- For admin panel navigate to http://localhost/thincms/admin
- Enter default admin credential as admin/admin.
If you wish to change admin app inside script which is built using angularjs do following steps. Prerequisite to perform below steps: Nodejs should be installed in your system.
- Navigate to admin/scripts directory.
- run: npm install
- run: gulp clean
- run: gulp build:all (this command will regenerate new scripts in relevant sub apps like category_app.js in category module)