R
Railway11mo 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
Percy11mo ago
Project ID: N/A
dogspace
dogspaceOP11mo ago
N/A
Brody
Brody11mo ago
what kind of app is that? i dont recognize the structure
dogspace
dogspaceOP11mo 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
Brody11mo ago
can you share the repo?
dogspace
dogspaceOP11mo ago
GitHub
GitHub - dogspace/menu_maker
Contribute to dogspace/menu_maker development by creating an account on GitHub.
dogspace
dogspaceOP11mo ago
bit of a mess
Brody
Brody11mo ago
how would you even run this locally?
dogspace
dogspaceOP11mo 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
Brody11mo 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
dogspaceOP11mo 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
Brody11mo 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
dogspaceOP11mo ago
Yeah looks good I'll try that. Thanks dude!
Want results from more Discord servers?
Add your server