Go-live issue
Hello everyone,
iI'm trying to go in PROD with my wasp/nodejs/react/flask/postgreSQL web application with Digital Ocean but in my site datanext.app i see just the favicon and the tab description, but all the page was completely blank.
Please see my step bellow:
1) Download Docker
2) Download postgreSQL
3) creation of user and database:
4) Go in /var/www/app and run
5) Go in /var/www/app/.wasp/build/server and run
6) managing of env variable by installing PM2 and creatinf in /var/www/app the file ecosystem.config.js with:
7) Go in var/www/app/.wasp/build/server and run
8) Go in /var/www/app/.wasp/build/web-app and run
9) Setup ngix with sudo nano /etc/nginx/sites-available/default
But enything is not working...
Please I'm working on this project from more than 6 month and I'm trying to go in prod from 1 week but I failed. Could please someone help me?
iI'm trying to go in PROD with my wasp/nodejs/react/flask/postgreSQL web application with Digital Ocean but in my site datanext.app i see just the favicon and the tab description, but all the page was completely blank.
Please see my step bellow:
1) Download Docker
2) Download postgreSQL
3) creation of user and database:
postgresql://USER:PASS@localhost:5432/DBNAME4) Go in /var/www/app and run
wasp build5) Go in /var/www/app/.wasp/build/server and run
npm install and npm run bundle6) managing of env variable by installing PM2 and creatinf in /var/www/app the file ecosystem.config.js with:
7) Go in var/www/app/.wasp/build/server and run
export DATABASE_URL=postgresql://USER:PASS@localhost:5432/DBNAME and run npx prisma migrate deploy --schema=/var/www/app/.wasp/build/db/schema.prisma8) Go in /var/www/app/.wasp/build/web-app and run
REACT_APP_API_URL=https://datanext.app/api npm run build9) Setup ngix with sudo nano /etc/nginx/sites-available/default
But enything is not working...
Please I'm working on this project from more than 6 month and I'm trying to go in prod from 1 week but I failed. Could please someone help me?


