/laraCMS

Content Management System based on Laravel

Primary LanguagePHP

laraCMS

A highly customizable Content Management System based on the Laravel framework.


Authors

Stephan Wagner, stephanwagner.me, mail@stephanwagner.me


Install and setup

  1. Install with composer

    composer create-project stephanwagner/laracms my-app
  2. Update database connection in file htdocs/.env

    DB_CONNECTION=mysql
    DB_HOST=127.0.0.1
    DB_PORT=3306
    DB_DATABASE=laracms
    DB_USERNAME=root
    DB_PASSWORD=
  3. Migrate database

    php artisan migrate
  4. laraCMS is now ready to rock and roll!

    php artisan serve

    You can login using the /admin path: http://127.0.0.1:8000/admin


Assets

SCSS and JS files are in the folder htdocs/resources/src. To watch or build assets use the following bash commands within the htdocs folder:

Watch assets during development:

npm run watch

Build assets for production:

npm run build

laraCMS uses https://gulpjs.com to compile assets.


Deployment

The document root of the hosting should point to the htdocs/public folder.