DEV Community

Discussion on: Help Thread — DigitalOcean App Platform Hackathon on DEV

Collapse
 
chris__sev profile image
Chris Sev

hey there! are you able to deploy Strapi and see the admin dashboard once its deployed?

Collapse
 
hulyakarakaya profile image
Hulya • Edited

Hi, Chris! No, I couldn't deploy. I'm getting an error
Your build job failed because it returned a non-zero exit code. See the logs for details.
Error code: BuildJobExitNonZero

I have created env/production folders, database.js, and server.js like in the video. Used the same commands for deploying the app and connected to PostgreSQL.
img

Thread Thread
 
hulyakarakaya profile image
Hulya • Edited

Hi, Chris! I have fixed it thanks to other resources, now it looks like Strapi is deployed, but when I try to access the page it is not showing me the admin panel like in the workshop. How can I connect to the admin page? Thanks.

img

Thread Thread
 
chris__sev profile image
Chris Sev

looks like you may need to

npm install pg

in your project so that it can connect to the postgres database

Thread Thread
 
hulyakarakaya profile image
Hulya

It is still not working, i deployed the page with "pg" installed, same page ..