R
Railway10mo ago
dogspace

Failed deployment

Hello. Can anyone help me figure out how to deploy a repo with the following stucture:
app/
scripts/ JS (no node)
styles/ CSS
templates/ HTML
app/
scripts/ JS (no node)
styles/ CSS
templates/ HTML
The build logs say Nixpacks is unable to generate a build plan. I also deployed a Flask project that failed to build until I added Procfile and vercel.json files. Is there a build command or files I should add to help Nixpacks? I'm new to this stuff. Thanks!
13 Replies
Percy
Percy10mo ago
Project ID: N/A
dogspace
dogspace10mo ago
N/A
Brody
Brody10mo ago
what kind of app is that? i dont recognize the structure
dogspace
dogspace10mo ago
It's just a menu builder tool I'm making. It started as a Flask project. Didn't put much thought into the structure ._.
Brody
Brody10mo ago
can you share the repo?
dogspace
dogspace10mo ago
GitHub
GitHub - dogspace/menu_maker
Contribute to dogspace/menu_maker development by creating an account on GitHub.
dogspace
dogspace10mo ago
bit of a mess
Brody
Brody10mo ago
how would you even run this locally?
dogspace
dogspace10mo ago
I've just been using the VS code live server extension I'm open to restructuring it. just trying to find the best solution to get it running
Brody
Brody10mo ago
yeah it needs a restructure for sure, also dont know why you have a procfile that starts gunicorn, this isnt a python project
dogspace
dogspace10mo ago
Ye that's either left over from when it was a Flask project or I was just testing random stuff. Any pointers on how I should restructure the project? aside from splitting up main.js - i'll get to that eventually
Brody
Brody10mo ago
.
└── app/
├── assets/
│ ├── css/
│ │ └── styles.css
│ ├── js/
│ │ ├── create_element.js
│ │ ├── default_session.js
│ │ └── main.js
│ └── img/
│ └── favicon.png
└── index.html
.
└── app/
├── assets/
│ ├── css/
│ │ └── styles.css
│ ├── js/
│ │ ├── create_element.js
│ │ ├── default_session.js
│ │ └── main.js
│ └── img/
│ └── favicon.png
└── index.html
i may have missed some files, but hopefully you get my drift
dogspace
dogspace10mo ago
Yeah looks good I'll try that. Thanks dude!
Want results from more Discord servers?
Add your server