i tried production and agusti told me to use yarn ...
# developers
j
i tried production and agusti told me to use yarn dx
z
@Agusti let's stick to this thread so we're all in sync
👍 1
What are you trying to achieve? I supposed you followed the README step by step. You should be able to run the project locally. now you wan't to deploy o a server. Am I right?
❤️ 1
j
yes thats correct
z
Also @Jimmy Chan if you can record a Loom detailing your process that would help us tremendously
👍 1
j
i’ll list out what i did in a bare bones instance real quick
postgres 14 that i made sure connects to that instance 4GB memory 20GB storage Debian git clone and recurse all submodules set env variables to the ip of the instance prisma deploy yarn install yarn build yarn start
i got it working
thanks for being patient with me.
🙏 1
z
What was the issue?
j
honestly i’m not 100% sure, i started with the main branch and it would have type errors then switch to production branch and same thing. Then i did it all again but just started with production branch and it was fine.
but back when it was still erroring i would double check
git branch
and it was definitely on production branch.