Welcome Guest, Not a member yet? Register   Sign In
bootstrap2 - codeignter 4
#1

Hello.
I would like to install version of bonfie 2. I have previously installed codeigniter4 in the following structure, as only this requires version php 8. I ask for additional instructions if anyone has experience with this.
Structure codeigniter4Directory of C:\xampp8\htdocs\ci4

08. 01. 2022  07:04    <DIR>          .
08. 01. 2022  07:04    <DIR>          ..
20. 11. 2021  08:28    <DIR>          appstarter


Here is the log instalation bonfire2, php version ???
Certainly we don’t want to have different php versions  with each installation, Codeigniter4 with 8 , and then bonfire previous version...?

C:\xampp8\htdocs>composer create-project lonnieezell/bonfire critormiss --stability dev
Creating a "lonnieezell/bonfire" project at "./critormiss"
Installing lonnieezell/bonfire (dev-develop 6ab9e3857b7b864059ce34a38c3b25d2f8b7d774)
  - Downloading lonnieezell/bonfire (dev-develop 6ab9e38)
  - Installing lonnieezell/bonfire (dev-develop 6ab9e38): Extracting archive
Created project in C:\xampp8\htdocs\critormiss
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

  Problem 1
    - symfony/service-contracts is locked to version v1.1.2 and an update of this package was not requested.
    - symfony/service-contracts v1.1.2 requires php ^7.1.3 -> your php version (8.0.12) does not satisfy that requirement.
  Problem 2
    - symfony/service-contracts v1.1.2 requires php ^7.1.3 -> your php version (8.0.12) does not satisfy that requirement.
    - symfony/stopwatch v5.4.0 requires symfony/service-contracts ^1|^2|^3 -> satisfiable by symfony/service-contracts[v1.1.2].
    - symfony/stopwatch is locked to version v5.4.0 and an update of this package was not requested.


Regards .

Matteo, Slovenia (EU)
Reply
#2

cd critormiss
composer update
Reply
#3

Hi.
I want to install ci bonfire 2, reinstall from start....
It is written in the instructions,
Download Initial Repo
The first step in installation is to download the latest version of Bonfire. From your command line type the following:
Code:
>  php composer create-project lonnieezell/bonfire app --stability dev

but it does not say from which level (folder) we start,

My environment codeigniter4 is the following structure.
C: \ xampp8 \ htdocs \ codeigniter4 \
||__APP
||__PUBLIC
||__SYSTEM
||__TEST
||__WRITABLE
from which folder should I start the composer so that all paths will match when starting bonfire2.
I think this should be added to the instructions ?
thx in advance.

Regards.

Matteo , Slovenia, EU
Reply
#4

Bonfire2 includes CI4.

app
├── _docs
├── app
├── bonfire
├── public
├── tests
├── themes
├── vendor
└── writable
Reply
#5

(01-08-2022, 07:40 PM)kenjis Wrote: Bonfire2 includes CI4.

app
├── _docs
├── app
├── bonfire
├── public
├── tests
├── themes
├── vendor
└── writable
Hi

Composer implemented. Thanks, I still have a problem with spark installation

Please review the request below

https://github.com/lonnieezell/Bonfire2/issues/50

Thx in advance.
Reply
#6

Hi.
I describe the bonfire2 installation process in a new way.
When I run the lurl application, they don't show it the right way, and the urls are different at different levels of dialing and don't have the same concept. There is no known login utl at the input, when we run the login has the wrong url again, when the dasboard starts the sio url again in a different way.
I describe the installation process after which the urls are not set correctly
here is install process...
composer create-project lonnieezell/bonfire apph --stability dev
cd apph
Composer update
composer fund
C:\xampp8\htdocs\apph>php spark bf:install
CodeIgniter v4.1.7 Command Line Tool - Server Time: 2022-01-14 06:49:50 UTC-06:00
Creating .env file...Exists
What URL are you running Bonfire under locally? : https://127.0.0.1/app/public/
Database host: [localhost]: localhost
Database name: [bonfire]: bonfire
Database username: [root]: root
Database password: [root]: root
Database driver: [MySQLi, Postgre, SQLite]: MySQLi
Table prefix: :
Running all new migrations...
Running: (Sparks\Shield) 2020-12-28-223112_Sparks\Shield\Database\Migrations\CreateAuthTables
Running: (Sparks\Settings) 2021-07-04-041948_Sparks\Settings\Database\Migrations\CreateSettingsTable
Running: (App) 2021-09-04-044800_App\Database\Migrations\AdditionalUserFields
Running: (App) 2021-10-05-040656_App\Database\Migrations\CreateMetaTable
Done migrations.
Create initial user
Email? : [email protected]
First name? : matej
Last name? : bricelj
Username? : matej
Password? : matej
Done. You can now login as a superadmin.
I have environment xampp8 i - apache
When i start the application
[Image: 149522745-ca480653-4fb4-428e-b067-3f68a95226c3.png]
login button url is 127.0.0.1/login which is not exist.
I think it would be useful for all future users to say the principle that urls on all levels will work with the installation and not to deal with this problem.
Of course I also did a review of the other urls on the dasboard and these don't work either
Please correct the shortcomings and at least the answer
Regards
Reply
#7

php spark bf:install command now returns

Could not open input file: spark

because

composer create-project lonnieezell/bonfire bonfire2app --stability dev

no longer creates a typical app structure of CI4, but rather like the contents of the library inside the vendor directory.

What is the correct way of creating a Bonfire2 project today?

CodeIgniter Wizard (CRUD code generator for Mac) instantly scaffolds Bootstrap-based web applications with an administrative interface (admin templates include Bootstrap5)

Reply
#8

See https://github.com/lonnieezell/Bonfire2/...llation.md
Reply




Theme © iAndrew 2016 - Forum software by © MyBB