DanjelDurmo
DanjelDurmo
WWasp-lang
Created by DanjelDurmo on 11/19/2024 in #đŸ™‹questions
Something wrong with SEO?
No description
12 replies
WWasp-lang
Created by DanjelDurmo on 10/19/2024 in #đŸ™‹questions
Flask server in wasp
No description
8 replies
WWasp-lang
Created by DanjelDurmo on 10/5/2024 in #đŸ™‹questions
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: postgresql://USER:PASS@localhost:5432/DBNAME 4) Go in /var/www/app and run wasp build 5) Go in /var/www/app/.wasp/build/server and run npm install and npm run bundle 6) managing of env variable by installing PM2 and creatinf in /var/www/app the file ecosystem.config.js with:
module.exports = {
apps: [
{
name: 'datanext-app',
script: 'bundle/server.js',
cwd: '/var/www/app/.wasp/build/server',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '1G',
env: {
NODE_ENV: 'production',
PORT: '3001',
DATABASE_URL: 'postgresql://USER:PASS@localhost:5432/DBNAME',
WASP_WEB_CLIENT_URL: 'https://datanext.app',
WASP_SERVER_URL: 'https://datanext.app',
STRIPE_KEY: '...,

}
}
module.exports = {
apps: [
{
name: 'datanext-app',
script: 'bundle/server.js',
cwd: '/var/www/app/.wasp/build/server',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '1G',
env: {
NODE_ENV: 'production',
PORT: '3001',
DATABASE_URL: 'postgresql://USER:PASS@localhost:5432/DBNAME',
WASP_WEB_CLIENT_URL: 'https://datanext.app',
WASP_SERVER_URL: 'https://datanext.app',
STRIPE_KEY: '...,

}
}
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.prisma 8) Go in /var/www/app/.wasp/build/web-app and run REACT_APP_API_URL=https://datanext.app/api npm run build 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?
15 replies
WWasp-lang
Created by DanjelDurmo on 9/4/2024 in #đŸ™‹questions
deployment with Digital Ocean
Hello everyone, after more than 5 months i’m near to the deployment of my wasp WebApp. I have chosen Digital Ocean as hosting and i would like to hear if someone have already deployed with this provider. What are the basic steps? I need to install directly PostgreSQL or is better to install Docker and after postgres? And after I need to run something else relevant with digital ocean? Thank for you advice
13 replies
WWasp-lang
Created by DanjelDurmo on 8/21/2024 in #đŸ™‹questions
Error 401 with authentication
Hello, quick question regarding the authentication, i get two warning and auth page looks different in terms of style. I have also open the incident #253. GET /auth/me 304 GET /auth/me 401 Any idra or solution/workaround for this? Thanks
9 replies