Coder Social home page Coder Social logo

moonshine-software / demo-project Goto Github PK

View Code? Open in Web Editor NEW
37.0 3.0 24.0 5.61 MB

MoonShine example demo project

Home Page: https://moonshine-laravel.com

PHP 70.22% CSS 17.62% JavaScript 1.38% Sass 2.04% Blade 7.13% Makefile 0.76% Dockerfile 0.79% Shell 0.07%
cutcode moonshine

demo-project's Introduction

Installation

Docker

The demo can be run to docker-compose. Use:

make demo-install

And go to http://localhost or http://localhost/admin

Settings.

Before you run "make demo-install", you can configure the ports and database to work.

In .env.example replace

DOCKER_USER=laravel #OS user
LOCAL_WEB_PORT=80
LOCAL_MYSQL_PORT=3306
LOCAL_REDIS_PORT=6379

The database setup is located in docker/volumes/MySQL/dump Default:

DB_DATABASE=moonshine_demo
DB_USERNAME=moonshine_demo
DB_PASSWORD=12345

Manually

  • Add database
  • Run composer install
  • Add .env and configure
  • php artisan key:generate
  • php artisan storage:link
  • php artisan migrate --seed
  • Go to /admin
  • Optionally, you can configure github or tinymce file manager

demo-project's People

Contributors

alexrififi avatar dev-lnk avatar dissnik avatar lee-to avatar shevelev-anatoliy avatar themeprogress avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

demo-project's Issues

demo-install ends with permission denied on Mac

DOCKER_USER=vbulash in .env.example

make demo-install ends with the following error on Mac:

Error response from daemon: error while creating mount source path '/Users/vbulash/PhpstormProjects/moonshine-demo/docker/volumes/Nginx/logs': chown /Users/vbulash/PhpstormProjects/moonshine-demo/docker/volumes/Nginx/logs: permission denied

Xdebug error at admin article edit or create new ...

Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '256' frames

`<x-moonshine::link-button :class="$class" :href="$href" :icon="$icon" :x-on:click.prevent="$xOnClickPrevent" >

{{ $slot ?? "" }}

</x-moonshine::link-button>`

Xdebug error at admin article edit ...

Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '256' frames

`<x-moonshine::link-button :class="$class" :href="$href" :icon="$icon" :x-on:click.prevent="$xOnClickPrevent" >

{{ $slot ?? "" }}

</x-moonshine::link-button>`

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.