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 ❤️

Oldest 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
 
designrknight profile image
Abel Mathew

Hello,
Can we participate in this as a team?

Collapse
 
graciegregory profile image
Gracie Gregory (she/her)

Hello! Group submissions are allowed but note that the prize will be shared.

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
 
martichou profile image
Martin André

Is it possible to have some secret for Docker using App Platform ?
I can't find any doc for that..

Collapse
 
jonfriesen profile image
Jon Friesen

👋 Martin,

We have some basic documentation here, we also have a sample project.

If we cannot detect your projects type using buildpacks, we will fallback to a Dockerfile if it's located in the root of your project. In the event that you'd prefer to use a Dockerfile instead of BuildPacks you can push configure this using am app.yaml, here is an example of one:

name: sample-dockerfile
services:
- dockerfile_path: Dockerfile
  github:
    branch: main
    deploy_on_push: true
    repo: digitalocean/sample-dockerfile
  name: sample-dockerfile
Enter fullscreen mode Exit fullscreen mode

Here is some documentation that covers creating apps with our command line tool doctl:

Reference for the DigitalOcean Command-Line Interface (doctl) with App Platform

Hope this helps! Happy Hacking 📣

Collapse
 
rommik profile image
Roman Mikhailov

How long does it take to receive credits for DO after submitting the form?

Collapse
 
bobbyiliev profile image
Bobby

Hi there,

You would receive the credits within 2 business days after filling up the form.

Good luck with the hackathon and have fun building!

Collapse
 
simkimsia profile image
simkimsia

Question: can submit the same app to multiple categories?

I aim to submit under “build for biz” but like to also submit under “random” as a just in case

Collapse
 
graciegregory profile image
Gracie Gregory (she/her)

Hi there! We ask that you pick only one category for your submission. Thank you 🙂

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

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

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

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
 
vimal profile image
VIMAL KUMAR

Can i Use my old Project ?

Collapse
 
bobbyiliev profile image
Bobby

Hey 👋

I believe that it should be ok as long as it is deployed on the App platform.

Make sure to add the "Deploy to DigitalOcean" Button to your repo for bonus points 🙌

Collapse
 
vimal profile image
VIMAL KUMAR

Thanks 🙌

Thread Thread
 
bobbyiliev profile image
Bobby

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

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

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 🙌

Collapse
 
frikishaan profile image
Ishaan Sheikh

If I create an app but not upload it on App platform, is that a valid submission as I don't have a credit card and none of my debit card is working with PayPal 🙁

Collapse
 
bobbyiliev profile image
Bobby

Hello 👋

Your application has to be deployed to the DigitalOcean App Platform.