Undefined variable $__env (View: /var/www/html/public) (View: /var/www/html/resources/themes/velocity/views/home/index.blade.php)
-
Hi there,
Is it possible to share the steps which you followed for install the bagisto? -
Hi.
In my local machine I have php PHP 7.3.29 (cli) , so I must use sail
and install using this strange steps 3 and 41.download bagisto-v1.4.5
2.unzip and copy it to working folder
3.add to composer.json:
"require-dev": {
...
"laravel/sail": "^1.0.1",
...
}
4. copy from other project
.env
sail
docker-compose.yml
vendor/bin/sail
vendor/laravel/-
run:
sail up -
run:
sail composer update -
sail php artisan bagisto:install
-
-
Hi there,
Can you please try with php 8.1 and composer 2.4 -
I work in docker using sail and there php v 8.1.17 and composer v2.5.5
-
I'm using Laravel Sail and having the same issue
-
Hi there,
currently i'm using PHP 8.2.2 and composer 2.5.2, and having this issue.
-
Hi there,
Please follow the below commands for installing the Bagisto. and if still you are getting the same issue then please let me know.
- git clone -b v1.4.5 https://github.com/bagisto/bagisto.git
- cd bagisto
- composer create
- edit the .env file [ configure the app_url, email and database credentials]
- php artisan bagisto:install
-
@sanjay-webkul said in Undefined variable $__env (View: /var/www/html/public) (View: /var/www/html/resources/themes/velocity/views/home/index.blade.php):
Hi there,
Please follow the below commands for installing the Bagisto. and if still you are getting the same issue then please let me know.
- git clone -b v1.4.5 https://github.com/bagisto/bagisto.git
- cd bagisto
- composer create
- edit the .env file [ configure the app_url, email and database credentials]
- php artisan bagisto:install
It's too easy )
In local machine I have php v7.3 and can't upgrate it to v8. So I need use sail and docker.
Is it possible to install the sail and bagisto? Аnd if so, give please instruction.
I think this instruction will help a lot.А few weeks ago I successfully run sail and bagisto.zip (1.4.5), so I know it's possible. But now I can't reproduce those steps, and lost the source code.
-
Hi there,
Please follow This issue -
Hi
I think I get solution for run-
git clone -b v1.4.5 https://github.com/bagisto/bagisto.git
-
copy to bagisto folder (from other project): (not use "composer update" command)
docker-compose.yml - check must be 8.1 php
vendor/bin
vendor/laravel
vendor/autoload.php
.env - check db credentials, be shure that you point to new db (dagisto:install rewrite db in step 6 ) -
cd bagisto
-
sail up
-
sail composer create
-
sail php artisan bagisto:install
-
-
Hi there.
You can take a reference from Here