:: Re: [DNG] OT: Install laravel on de…
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Peter Duffy
日付:  
To: dng
題目: Re: [DNG] OT: Install laravel on devuan
Slightly off-topic, but not by much. If you get fed up of trying to
install Laravel, maybe worth trying CodeIgniter. I'm also trying to get
into (php-based) web development and working in the MVC code model. I
originally considered Laravel, but for various reasons, I eventually
went down the CodeIgniter route, and so far have found that it answered
my needs. It was also fairly straightforward to install it.

(The one thing which needs to be watched about CodeIgniter is that
versions 3 and 4 are both in circulation, and v4 has a lot of
differences and new features. The documentation is really good - but
it's necessary to match the documentation with the version ;) )

On Mon, 2024-06-24 at 11:37 -0400, Ismael L. Donis Garcia wrote:
> Until now I have always decided to program desktop applications,
> since I am not that young and I live in a country that is behind in
> time. But it has already begun to evolve and I have decided to jump
> into web programming.
>  
> I'm trying to install Laravel but I haven't succeeded, I don't see
> very clear how to install the framework itself, I've tried to follow
> explanations on the web but I can't find the correct steps.
>  
> For these reasons I am asking to see if someone can explain to me
> better how to install the framework so that it works on my PC.
>  
> I live in CUBA and I don't know if that is a limitation for it. Below
> I explain the errors it gives me:
>  
> root@clt-iyc-03:/var/www/html/testapp# sudo -u www-data composer
> create-project laravel/laravel.
> Creating a "laravel/laravel." project at "./laravel."
> The following exception probably indicates you have misconfigured DNS
> resolver(s)
>  
> In CurlDownloader.php line 365:
>                                                                      
>                                             
>   curl error 6 while downloading
> https://repo.packagist.org/packages.json: Could not resolve host:
> repo.packagis 
>  
> t.org                                                                
>                                            
>                                                                      
>                                             
> create-project [-s|--stability STABILITY] [--prefer-source] [--
> prefer-dist] [--prefer-install PREFER-INSTALL] [--repository
> REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--
> dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-
> progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-
> install] [--no-audit] [--audit-format AUDIT-FORMAT] [--ignore-
> platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [-
> -] [<package> [<directory> [<version>]]]
>  
> But as you can see if I have access to the internet
>  
> root@clt-iyc-03:/var/www/html/testapp# ping 8.8.8.8
> PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
> 64 bytes from 8.8.8.8: icmp_seq=1 ttl=111 time=83.0 ms
> 64 bytes from 8.8.8.8: icmp_seq=2 ttl=111 time=82.7 ms
> root@clt-iyc-03:/var/www/html/testapp# wget
> https://repo.packagist.org/packages.json
> --2024-06-24 11:01:51--  https://repo.packagist.org/packages.json
> Conectando con 192.168.0.70:3128... conectado.
> Petición Proxy enviada, esperando respuesta... 200 OK
> Longitud: no especificado [application/json]
> Grabando a: «packages.json»
> packages.json                    [
> <=>                                          ]   2,52K  --.-KB/s   
> en 0s     
> 2024-06-24 11:01:52 (103 MB/s) - «packages.json» guardado [2584]
>  
> root@clt-iyc-03:/var/www/html/testapp#
>  
> Best Regards
> --
> Ismael
> Devuan User: http://distrowatch.com/table.php?distribution=devuan
> Web Site: https://gitlab.uic.cu/ismael.donis/
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng