Giter Site home page Giter Site logo

rafaelssilva35 / laravel-cms-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from czim/laravel-cms-example

0.0 1.0 0.0 3.68 MB

Example installation of the Laravel CMS

Makefile 0.08% PHP 13.33% Dockerfile 0.02% JavaScript 74.95% HTML 11.59% Vue 0.03%

laravel-cms-example's Introduction

Laravel CMS Example Installation

Example standard installation of the Laravel CMS.

CMS packages installed

Application packages used

Laravel Versions

The master branch has the latest version of Laravel.

For examples of older Laravel versions, check out the branch specific for that version.

Installation

Besides the normal procedure for getting a laravel installation running (composer install), follow these additional steps:

For running with Docker

If you have Docker, the Makefile will help you get set up quickly.

  1. To compose the application, migrate and seed it, simply run:

    make

    This may take some time.

  2. Optionally, to speed things up, run:

    make cache

    This will cache CMS information, Laravel config & routes.

Your application will then run on http://localhost:8000/cms if all went well.

For running in a custom environment

  1. First, set up the .env file by running:

    make env

    Or make an .env file manually. Don't forget to set up app key using php artisan key:generate.

  2. Run the CMS migrations:

    php artisan cms:migrate
  3. Run the database seeder:

    php artisan db:seed

    Three user accounts will be ready to use:

  4. Optionally, create a custom super-admin account:

    php artisan cms:user:create <name> <password> --admin
  5. Optionally, to speed things up, cache some data:

    php artisan cms:menu:cache
    php artisan cms:models:cache
    php artisan config:cache
    php artisan route:cache

After this, the application should be ready.

The relative path to the CMS is /cms, f.i. as: http://laravel-cms-example.dev/cms.

Application

The example application combines a simple product catalog structure with a blog.
The models are generally designed to showcase different model fields.

Note that this is not even really an application, but just the database structure and models that could be used to make a real application.
It serves merely as an illustration for the implementation of the CMS.

laravel-cms-example's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.