- Issue created by @flavio_russo
- Issue was unassigned.
- Assigned to arturopanetta
- 🇮🇹Italy arturopanetta Grotteria (RC)
Hi Flavio,
if you install ddev (it helps you create a development environment with the right requirements, yours does not have the right requirements), by launching the command described here https://git.drupalcode.org/project/bootstrap_italia/-/tree/2.x#how-to-st... it will do all the work described in the guide automatically for you.---
Ciao Flavio,
se installi ddev (ti aiuta a creare un ambiente di sviluppo con i requisiti giusti, il tuo non ha i requisiti giusti), lanciando il comando descritto qui https://git.drupalcode.org/project/bootstrap_italia/-/tree/2.x#how-to-st... farà tutto il lavoro descritto nella guida automaticamente per te.Ps. Flavio, su drupal.org si usa l'inglese (anche male o malissimo, ma si usa l'inglese), è una regola della community.
do I have to install drupal on the ubuntu server first or does it do everything by itself?
- 🇮🇹Italy arturopanetta Grotteria (RC)
@flavio_russo
- Install docker https://docs.docker.com/engine/install/ubuntu/
- Install DDEV https://ddev.readthedocs.io/en/stable/users/install/ddev-installation/#l...
- run
$ bash <(curl -s -H "Cache-Control: no-cache" "https://git.drupalcode.org/project/bootstrap_italia/-/raw/2.8.x/var/bin/build-ddev-installation.sh")
I did all the steps you listed. The installation was successful but if I try to put the server's IP address in a browser it doesn't show me anything, everything remains as if it were not installed. I also tried typing ip_server/new-project - which would be the name assigned to the drupal project.
now everything works. the only thing is that to see the site I have to use ngrok otherwise I can't see anything if I enter the IP address of the server on which the site is installed. how can I use the site without ngrok? I had in mind to use the public IP address of my server but I don't know how to change the docker IP address since it only lets me access via localhost.
I hope you can understand my request.
I saw that this theme is also installed on the bootstrap-italia.arturu.it site and it works without problems. How did you set up the site with your domain?
Thanks
- 🇮🇹Italy arturopanetta Grotteria (RC)
Ddev is used for local development and not for deploying sites to production.
There are various ways to deploy sites to production depending on the provider you use. You should study the features of your provider.
Generally, if they provide command line access with `composer`, you should be fine.
In the case of the demo site on bootstrap-italia.arturu.it, the site runs inside containers orchestrated with "docker compose". I'm not sure if this method suits you, but it's the one I use.
In conclusion, there's no absolute way to deploy Drupal to production; use what best aligns with your needs.
Here are some links for further reading:
- Status changed to Fixed
5 months ago 8:14am 8 July 2024 Automatically closed - issue fixed for 2 weeks with no activity.