Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation guide #543

Closed
agentcobra opened this issue Apr 29, 2023 · 7 comments
Closed

Installation guide #543

agentcobra opened this issue Apr 29, 2023 · 7 comments

Comments

@agentcobra
Copy link
Contributor

agentcobra commented Apr 29, 2023

How to install

Steps to reproduce the behavior:

  1. run command in directory Git clone https://github.com/XGProyect/XG-Proyect-v3.x.x.git
  2. run command docker compose up
    Error in navigator : http://localhost/
Warning: require_once(/var/www/html/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/app/Core/Common.php on line 19

Fatal error: require_once(): Failed opening required '/var/www/html/vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /var/www/html/app/Core/Common.php on line 19
  1. run command docker compose down
  2. run command composer install
  3. run command docker compose up
    in navigator : http://localhost/install/index.php?page=installation&mode=step1 fields are empty
    fill fields with :
  • host=db
  • user=root
  • password=root
  • db=xgp
  • prefix=xgp_
  1. submit

that's the easy install!

@LucasKovacs
Copy link
Member

LucasKovacs commented Apr 29, 2023

That's a different way, the preferred one would be doing

composer create-project xgproyect/xgproyect

And then running docker.

@agentcobra
Copy link
Contributor Author

maybe need to update readme file https://github.com/XGProyect/XG-Proyect-v3.x.x#docker

@fr0st87
Copy link

fr0st87 commented Aug 10, 2023

Hi, cuando intento:

run command docker compose up

Me da error.

docker: 'compose' is not a docker command.

Pudieran explicar cual es mi error......... soy nuevo trabajando con docker.

@agentcobra
Copy link
Contributor Author

Hi, cuando intento:

run command docker compose up

Me da error.

docker: 'compose' is not a docker command.

Pudieran explicar cual es mi error......... soy nuevo trabajando con docker.

Hi,
Is docker installed on your system?

@fr0st87
Copy link

fr0st87 commented Aug 10, 2023

Hi, cuando intento:

run command docker compose up

Me da error.

docker: 'compose' is not a docker command.

Pudieran explicar cual es mi error......... soy nuevo trabajando con docker.

Hi, Is docker installed on your system?

SI lo tengo instalado
Screenshot_20230810_165158

@fr0st87
Copy link

fr0st87 commented Aug 11, 2023

Hi, cuando intento:

run command docker compose up

Me da error.

docker: 'compose' is not a docker command.

Pudieran explicar cual es mi error......... soy nuevo trabajando con docker.

Hi, Is docker installed on your system?

SI lo tengo instalado Screenshot_20230810_165158

A ver, estuve buscando y es que soy de Cuba y Docker esta bloqueado para mi país.

Alguna otra forma de poder instalar esta versión.

@mystikxkemix
Copy link

mystikxkemix commented Aug 30, 2023

Hi!
I'm trying to install the project on a VM using docker.
On the VM, I installed PHP 7.4, Composer, and docker.

I ran composer create-project xgproyect/xgproyect that created me the folder xgproyect with the dependencies downloaded.
Then I ran docker compose up to run the containers. No error for now. PhpMyAdmin and Mailhog are running correctly.

Then when I try to go to http://192.168.2.213/install/index.php?page=installation&mode=step1 to start the installation, but I got the error 500.

Capture d’écran 2023-08-30 à 13 45 48

Do you know what can lead to this?

Edit: it seems that it works locally but not from another computer on the network. Do you know how I can open the access?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants