Giter VIP home page Giter VIP logo

demo's Introduction

Litstack Demo

A demo application to illustrate how litstack works. The online version can be found under demo.litstack.io.

Installation

Clone the repository:

git clone https://github.com/litstack/demo.git && cd demo

Copy the .env.example file:

cp .env.example .env

Setup a connection to an existing database and run the seeder via artisan:

php artisan demo:install

demo's People

Contributors

cbl avatar jannescb avatar nenadgajic avatar

Stargazers

William Whitmire avatar Justany ITOUA avatar Can Özdemir avatar Matovu Ronald avatar Emad ElAwady avatar  avatar  avatar  avatar Ibrahim Arafa El-Sawaf avatar

Watchers

James Cloos avatar  avatar

demo's Issues

composer install fatal error

Hi guys,
just tried the demo project and found a fatal error when executing composer install.

`Class ParsedownExtraTest located in ./vendor/erusev/parsedown-extra/test/ParsedownExtraTest.php does not comply with psr-0 autoloading standard. Skipping.
Class App\Models\States\ProductType located in ./app/Models/Types/ProductType.php does not comply with psr-4 autoloading standard. Skipping.

Illuminate\Foundation\ComposerScripts::postAutoloadDump
PHP Parse error: syntax error, unexpected '|', expecting variable (T_VARIABLE) in /Users/.../Developer/demo/app/helpers.php on line 3
Parse error: syntax error, unexpected '|', expecting variable (T_VARIABLE) in /Users/.../Developer/demo/app/helpers.php on line 3`

Seems like an bigger issue, because when I fix this one the next one will come up and so on...

Error when try to install

Env:
PHP 7.4.7
Mysql 5.7.24
windows 10

step to reproduce:
Just like on readme.md
and i only rename the folder demo to custom name

git clone https://github.com/litstack/demo.git  litstack-demo && cd litstack-demo

cp .env.example .env
composer install
php artisan key:generate
php artisan demo:install

error that i've got:

  Call to a member function revokePermissionTo() on null

  at D:\laragon404\learn_laravel\litstack-demo\database\seeders\DatabaseSeeder.php:52
     48▕             ->toMediaCollection('header_image');
     49▕
     50▕         $adminRole = Role::where('name', 'admin')->where('guard_name', 'fjord')->first();
     51▕
  ➜  52▕         $adminRole->revokePermissionTo('update lit-role-permissions');
     53▕         $adminRole->revokePermissionTo('delete lit-users');
     54▕     }
     55▕ }
     56▕

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.