DEV Community

dev.to staff for The DEV Team

Posted on

Help Thread — DigitalOcean App Platform Hackathon on DEV

The DigitalOcean team will be making themselves available to help people who run into issues or have questions related to the App Platform as part of DigitalOcean App Platform Hackathon on DEV 🎉

If you get stuck or run into a question about App Platform, describe it in this thread for asynchronous assistance from members of the DigitalOcean team — they'll be monitoring this post regularly!

Happy coding ❤️

Top comments (74)

Collapse
 
chris__sev profile image
Chris Sev

Hey everyone. My name is Chris and I founded scotch.io and I'm a Developer Advocate at DigitalOcean.

If you've got questions about building apps and deploying to App Platform, let me know!

Here's a video on how to deploy a Laravel + React app to App Platform to get you started: youtu.be/1T3d7P_V2t4

Collapse
 
spiritupbro profile image
spiritupbro

Hello chris i want to ask about deploy to DO button can we deploy two different repo using one deploy to DO button? because i saw in the documentation deploy to DO button can only deploy with limits of 1 service and 1 database because i have two different service one for backend as a service and the second one is a static site

Collapse
 
chris__sev profile image
Chris Sev

currently we don't support 2 repos with the deploy button but I understand that's a big request. would make the button very effective with that feature.

Thread Thread
 
spiritupbro profile image
spiritupbro

yap waiting for that feature in the future but actually it helped when let's say we had static website and backend service api with so many environment variable we can just click that button and just connect the static website using some url for example that we can pass to that static website environment variable anyway thanks for the answer

Collapse
 
simkimsia profile image
simkimsia

Question to the DO team:

My #dohackathon app uses Django on Docker and push to DOAP.

Now I am stuck on how to setup a postgres. Typically, I have a separate container for postgres on my local dev env setup.

On DOAP, how should taht be done? your tutorial covers the use of droplet and recommends postgres cluster digitalocean.com/community/tutoria...

Given that this #dohackathon is about using DOAP, how do I use postgres within DOAP?

Thank you

Collapse
 
bobbyiliev profile image
Bobby Iliev

Hi there,

You can actually add a database component to your App platform directly. There is no need to set up a database server on a separate Droplet.

You can follow the steps on how to add a database component here:

digitalocean.com/docs/app-platform...

Collapse
 
simkimsia profile image
simkimsia

Ok thanks

Thread Thread
 
bobbyiliev profile image
Bobby Iliev

No problem! Good luck with this and have fun building! 🙌

Thread Thread
 
shaijut profile image
Shaiju T

Hi, I can see App Platform has free pan, So Can i deploy Commercial static websites and .NET Core API with 0 $ plan ?

digitalocean.com/products/app-plat...

Thread Thread
 
bobbyiliev profile image
Bobby Iliev

Hello 👋

The free plan is only for static sites. As you would have an API service, you would need to select the standard plan.

Collapse
 
peterdavehello profile image
Peter Dave Hello͌ͯͦ̉

Hello,

I have a few questions: How to make sure my submission is successful? Do we need to do anything else after using the official template to submit? Or do we need to provide the port URL somewhere?

Thanks a lot!

Collapse
 
bobbyiliev profile image
Bobby Iliev

Hi there Peter 👋 Good to hear that you are participating as well!

Yes, as long as you use the template and provide all of the necessary information in there like the link to your app, the link to your GitHub/GitLab repo, License and etc. it will be fine.

Also make sure to use the #dohackathon tag!

Collapse
 
peterdavehello profile image
Peter Dave Hello͌ͯͦ̉

Cool! Thanks for the lighting speed response Bobby⚡️!

Thread Thread
 
bobbyiliev profile image
Bobby Iliev

No problem and good luck!

Thread Thread
 
peterdavehello profile image
Peter Dave Hello͌ͯͦ̉

Well ... I'm not familiar with DEV platform and didn't notice that there is a published: config in the template need to be changed to true... until now lol ...

Collapse
 
szhabolcs profile image
Nagy Szabolcs

Hey there!
I ran into a pretty bad situation...
I first made an account with my main email trough GitHub, and entered a virtual card not thinking it would terminate itself after the test transaction from Digital Ocean. This caused me to get my account locked. I opened a ticket and explained the situation but they told me they can't restore my account due to violation of terms of services and for fraudulent behavior.

I hope you understand my situation, I was thinking about an idea for the past weeks and decided to start working on it today, but got blocked in the process.
I also tried another Gmail address, with the actual card, but the same thing happened.
Now I have two blocked accounts, I assume ip banned as well, and no way of even starting my project.

I was really into making something special and this would have been a chance for one of my projects to see a broader audience.

I hope someone could help me.
Thank you in advance!

Collapse
 
zaltsman profile image
Daniel Zaltsman

Hey Nagy - hoping to help you here so you can participate! Can you please shoot me an email with your account email information included? Daniel (at) DigitalOcean (.) com. Thanks!

Collapse
 
szhabolcs profile image
Nagy Szabolcs

Thank you Daniel!

I successfully created my account! 😄

Collapse
 
szhabolcs profile image
Nagy Szabolcs

Thank you! I sent you an email.

Collapse
 
milindsingh profile image
Milind Singh • Edited

I am trying to deploy my gridsome app with Digital Ocean Static Site, but failing with build process, any idea ?

Error: Failed to launch the browser process!
15:41:55 /workspace/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory
Enter fullscreen mode Exit fullscreen mode
Collapse
 
awnton profile image
Anton Gunnarsson

Is it supported to declare a redis instance in a app.yaml-file and deploy it with the CLI?

When I add it like below it fails without giving a specific error:

name: hackathon-runner
region: ams
static_sites:
  - ...
databases:
  - name: hackathon-runner-redis
     engine: REDIS
     production: true
     cluster_name: hackathon-runner-db-cluster
Enter fullscreen mode Exit fullscreen mode
Collapse
 
hulyamasharipov profile image
Hulya • Edited

Hi, I am trying to deploy my Gatsby app but I have Strapi plugin as localhost:1337 in the config file. I have tried to deploy strapi project from my github following Chris' video.. But it gave me an error. Is there any guide about how I can connect Gatsby to Strapi with Digital Ocean? Thanks a lot!

Collapse
 
chris__sev profile image
Chris Sev

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

Collapse
 
hulyamasharipov 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
 
hulyamasharipov 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
 
hulyamasharipov profile image
Hulya

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

Collapse
 
ludeed profile image
Luís Silva

Hey, I filled the form to get the credits in order to participate in the Hackaton
But so far I didn't received any email or credits in my digital ocean account ?
How long is the wait on this ?

Thanks for any help in advance :D

Collapse
 
ludeed profile image
Luís Silva

Never mind just arrived xD

Collapse
 
chris__sev profile image
Chris Sev

Glad to hear it. I just pushed out the latest round of credits. Happy hacking!

Collapse
 
rommik profile image
Roman Mikhailov

Hello, could you clarify this requirement?

Use a permissive license for your code (ex: MIT, Apache-2)

do we have to share the code with the reviewers? Will it be made public to a general community?

I’d like to participate, but the project will grow into a business that won’t be open source. How can I protect the IP and still participate?

Collapse
 
chris__sev profile image
Chris Sev

Would the "Commons Clause" license fit? That's acceptable also:

Collapse
 
graciegregory profile image
Gracie Gregory (she/her)

Hi Roman! We have updated this item in the announcement post to be more license specific. I hope this helps!

Collapse
 
rommik profile image
Roman Mikhailov

Thanks Chris and Gracie, yeah it is helpful and I think the Commons Clause will do.

Collapse
 
arpan45 profile image
Arpan Adhikari

I have added my submission
dev.to/arpan45/simple-quiz-applica...

Will there be any confirmation if it is valid or not.

I have followed all the steps mentioned. But still asking just for confirmation.

Collapse
 
bobbyiliev profile image
Bobby Iliev

Hi there 👋

As long as your application is deployed on the DigitalOcean App platform and as long as you have created your post on DEV you should be fine 🙌