Giter Club home page Giter Club logo

docs's People

Contributors

faisuc avatar frezno avatar fulopattila122 avatar kkrieger85 avatar kodestar avatar malnasilevente avatar shekenz avatar wanztwurst avatar yoeriboven avatar yusufkandemir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docs's Issues

Installation Auth Support exemple issue

In the Installation guide, Laravel Auth Support - Step 2, example given has the wrong namespace. I believe the example is inherited from v2.x.

Current :

// app/User.php
namespace App;

Should be :

// app/Models/User.php
namespace App\Models;

If an user follows the example or copypasta, he will get an error :
Class App\Models\User must extend or implement Konekt\User\Contracts\User

Can not create a super user account

Hi. Whenever I want to run this command it gives me an error and exits.

php artisan appshell:super

It does not let me to enter user info. It just says aborted and quits to the command prompt.

Admin Documentation for Laravel Vite

Background

Laravel Vite is the new default frontend build toolkit, but it has only been added to Laravel v9.19.

But Laravel Mix is still available, and even the doc says that there's a back-and-forth migration path between the two: https://laravel.com/docs/9.x/vite#vite-or-mix

The Vanilo Framework is not supplying any frontend, but the vanilo/admin package requires a frontend build step.

To-do

Vanilo has received several requests to provide Vite installation instructions: vanilophp/admin#2 vanilophp/framework#131

  • Extend the documentation with instructions explaining how to build the admin frontend with Laravel Vite
  • KEEP Laravel Mix instructions!
  • Make sure it works: do a clean install, make the steps as described and have the frontend properly built
  • Submit a PR to this repo: https://github.com/vanilophp/docs

Tips:

Acceptance Criteria

  • The PR contains the steps
  • Doing the steps with a clean install results a working admin with proper CSS and JS files built

Installation docs don't work on Laravel 6 and up

Laravel 6 has the php artisan make:auth command removed.

Instead the following commands have to be run:

composer require laravel/ui --dev
php artisan ui vue --auth

Not running these commands means Vue and Popper.js don't get installed while vendor/konekt/appshell/src/resources/assets/js/appshell.standalone.js needs those.

Reason I didn't create a PR is because there is a more elegant way to fix this problem.

Vanilo only works with certain npm/yarn packages installed. A command like Laravel does with php artisan ui vue --auth adds the required packages to the packages.json. This way it doesn't matter if the packages are already installed or not since the command will add the packages to packages.json.

If the maintainers of Vanilo want the command; I'll write it. Just let me know which packages are essential for installation.

Steps to reproduce:

Follow the installation docs (create a new project from scratch).

Issue of migrate

I was trying to install vanilo. everything upto migrate command matches that of documentation. But, i am stuck at migrate command. The error is as follows:

Migration table created successfully.
Migrating: 2014_10_12_000000_create_users_table
Migrated: 2014_10_12_000000_create_users_table
Migrating: 2014_10_12_100000_create_password_resets_table
Migrated: 2014_10_12_100000_create_password_resets_table
Migrating: 2016_11_24_104017_create_countries_table
Migrated: 2016_11_24_104017_create_countries_table
Migrating: 2016_11_24_104459_create_provinces_table
Migrated: 2016_11_24_104459_create_provinces_table
Migrating: 2016_12_03_110323_create_addresses_table
Migrated: 2016_12_03_110323_create_addresses_table
Migrating: 2016_12_04_104214_create_persons_table
Migrated: 2016_12_04_104214_create_persons_table
Migrating: 2016_12_04_191141_create_organizations_table
Migrated: 2016_12_04_191141_create_organizations_table
Migrating: 2016_12_18_113707_extend_users_table
Migrated: 2016_12_18_113707_extend_users_table
Migrating: 2016_12_18_121118_create_profiles_table

Illuminate\Database\QueryException : SQLSTATE[HY000]: General error: 1005 Can't create table sws_ec omm.#sql-1fc8_586 (errno: 150 "Foreign key constraint is incorrectly formed") (SQL: alter table prof iles add constraint profiles_user_id_foreign foreign key (user_id) references users (id))

at E:\xampp7\htdocs\SWS\sws_ecomm\vendor\laravel\framework\src\Illuminate\Database\Connection.php:664
660| // If an exception occurs when attempting to run a query, we'll format the error
661| // message to include the bindings with SQL, which will make this exception a
662| // lot more helpful to the developer instead of just the database's errors.
663| catch (Exception $e) {

664| throw new QueryException(
665| $query, $this->prepareBindings($bindings), $e
666| );
667| }
668|

Exception trace:

1 PDOException::("SQLSTATE[HY000]: General error: 1005 Can't create table sws_ecomm.#sql-1fc8_586 (errno: 150 "Foreign key constraint is incorrectly formed")")
E:\xampp7\htdocs\SWS\sws_ecomm\vendor\laravel\framework\src\Illuminate\Database\Connection.php:458

2 PDOStatement::execute()
E:\xampp7\htdocs\SWS\sws_ecomm\vendor\laravel\framework\src\Illuminate\Database\Connection.php:458

Please use the argument -v to see more details.

How can i rectify this problem?

Templating?

Can't find any templating guide. I'm not a programmer and it's very difficult to understand how to do anything. I'm widely familiar with blade template engine but that's it.

Some helpers needed for building menus / static pages / product list collections by criteria etc...

No Docs For Channels

There is no documentation for the Channels module. How does it work. Does it allow you to run multiple store fronts from one Vanilo installation? I can't seem to get it to do anything.

Migration Issue

I have been running a command php artisan migrate and then come up with this error message :

Migrating: 2014_10_12_000000_create_users_table
Migrated: 2014_10_12_000000_create_users_table
Migrating: 2014_10_12_100000_create_password_resets_table
Migrated: 2014_10_12_100000_create_password_resets_table
Migrating: 2016_11_24_104017_create_countries_table
Migrated: 2016_11_24_104017_create_countries_table
Migrating: 2016_11_24_104459_create_provinces_table
Migrated: 2016_11_24_104459_create_provinces_table
Migrating: 2016_12_03_110323_create_addresses_table
Migrated: 2016_12_03_110323_create_addresses_table
Migrating: 2016_12_04_104214_create_persons_table
Migrated: 2016_12_04_104214_create_persons_table
Migrating: 2016_12_04_191141_create_organizations_table
Migrated: 2016_12_04_191141_create_organizations_table
Migrating: 2016_12_18_113707_extend_users_table
Migrated: 2016_12_18_113707_extend_users_table
Migrating: 2016_12_18_121118_create_profiles_table

In Connection.php line 664:

SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'profiles' already exists (SQL: create
table profiles (id int unsigned not null auto_increment primary key, user_id int unsigned not
null, person_id int unsigned not null, avatar_type varchar(191) null, avatar_data text null, c reated_at timestamp null, updated_at timestamp null) default character set utf8mb4 collate 'utf8mb
4_unicode_ci')

How I can get through this problem??

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.