posapiano-ops / Bandaloco

Bandaloco - ProLoco WebSite
GNU General Public License v2.0
0 stars 0 forks source link

Error: Makefile:5: .env: No such file or directory #7

Open posapiano-ops opened 5 months ago

posapiano-ops commented 5 months ago

Errore in fase di setup. perchè non trova il file .env, che in realtà viene creato dopo. Implementare un controllo prima dell'include nel makefile

ubuntu@vps211434:~/BandaLoco$ make setup
Makefile:5: /home/ubuntu/BandaLoco/.env: No such file or directory
make: *** No rule to make target '/home/ubuntu/BandaLoco/.env'.  Stop.

La soluzione tampone è lanciare questo comando prima del setup:

cp --update sample.env .env