Closed billydu1980 closed 2 months ago
Why hasn't anyone responded? Can this software still be used by somebody? Why do open source software intentionally set bugs, and how can more people participate in testing.
Hello, this issue is usually due to a problem with the backend address configured in the front-end project. Based on your configuration, the .env.production should be set to: After saving the changes, simply run npm run build to deploy.
If you are in the development environment, the file you should modify is: .env.development.
I have found the reason and need to configure the Postgres database firstly
sudo -i -u postgres psql ALTER USER postgres WITH PASSWORD '123456'; CREATE DATABASE wms; \list \q exit
sudo -u postgres psql -d wms -f database_postgresql.sql
nano /ModernWMS/backend/appsettings.json
"AllowedHosts": "*", "Database": { "db": "PostGres" }, "ConnectionStrings": { "PostGresConn": "Server=192.168.1.141;Port=5432;User Id=postgres;Password=123456;Database=wms;"
Ubuntu 22.04 system, ModernWMS installation and configuration process without any errors. When logging in to the front-end webpage, it prompts operation timeout. Backend: 20011 accesses normally; When compiling the front-end code, I noticed the documentation prompt and edited the. env. production file to define the actual IP address of the server. In addition, the default database file/ModernWMS/backend/wms.db has not been changed.
Also, please let me know if there are any other configuration requirements besides modifying the appsettings. json file if we use PostgreSQL database instead? Please provide a clear answer.
Best regards! adu