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)
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
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 sitecurrently 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.
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
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
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...
Ok thanks
No problem! Good luck with this and have fun building! 🙌
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...
Hello 👋
The free plan is only for static sites. As you would have an API service, you would need to select the standard plan.
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!
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!
Cool! Thanks for the lighting speed response Bobby⚡️!
No problem and good luck!
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 ...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!
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!
Thank you Daniel!
I successfully created my account! 😄
Thank you! I sent you an email.
I am trying to deploy my gridsome app with Digital Ocean Static Site, but failing with
build
process, any idea ?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:
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!
hey there! are you able to deploy Strapi and see the admin dashboard once its deployed?
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.
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.
looks like you may need to
npm install pg
in your project so that it can connect to the postgres database
It is still not working, i deployed the page with "pg" installed, same page ..
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
Never mind just arrived xD
Glad to hear it. I just pushed out the latest round of credits. Happy hacking!
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?
Would the "Commons Clause" license fit? That's acceptable also:
Hi Roman! We have updated this item in the announcement post to be more license specific. I hope this helps!
Thanks Chris and Gracie, yeah it is helpful and I think the Commons Clause will do.
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.
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 🙌
HI DOAP, building a small that needs a web service (Node.js) and a worker Docker container. The Node.js service needs to access the worker container. I'm struggling to find documentation about this, try to add
workers
to my app spec but doesn't work, please help, here is my deploy config:https://github.com/phuctm97/img-node/blob/master/.do/deploy.template.yaml
👋 Minh-Phuc
Workers cannot be accessed by a service internally or externally. A possible solution is to have your worker reach out for work to do from your service. You can use your service name as a DNS record to make accessing your service easier and faster.
For example, if my service is called
app
I can access it from my worker usinghttp://app
.I had submitted a project and I didn't even get a mail for participating. Can you please help.
Link to project template: dev.to/aryan040501/digital-ocean-s...
My gridsome static site build fails in Digital Ocean, any idea?
Can i Use my old Project ?
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 🙌
Thanks 🙌
No problem! Good luck with this and have fun building!
SOLVED IT
Had to redeploy a new app to fix the issue.
Help!
My site is showing this:
It was ok last night but when I checked now, it showed this.
It can be accessed with rebrand-g34no.ondigitalocean.app but not on studio.icvn.tech
What's wrong with this?