R
Railway7mo ago
Sam

503 error after adding TailwindCSS into my project

So I recently decided to style my website with tailwindcss as vanilla CSS was becoming quite. tedious, however now when railway tries to deploy my project I am getting a 503 error "Application failed to respond". I have collected the static files for the tailwindcss files, however in development, I have to run python manage.py tailwind start to get the tailwind stuff to load. In my deployment logs, there is an ModuleNotFoundError: No module named 'theme' , which is part of the tailwind configuration. For reference, I followed this guide: https://django-tailwind.readthedocs.io/en/latest/installation.html
Solution:
I'm using the default start command that railway provides, but I was able to fix the issue by pushing up the 'theme' flder from my files. I had it in the .gitignore file before.
Jump to solution
5 Replies
Percy
Percy7mo ago
Project ID: 0fbe3bbf-8e54-48fd-9f7a-33c4b9ce087d
Sam
SamOP7mo ago
Project ID: 0fbe3bbf-8e54-48fd-9f7a-33c4b9ce087d
Brody
Brody7mo ago
whats your current start command and where is it set?
Solution
Sam
Sam7mo ago
I'm using the default start command that railway provides, but I was able to fix the issue by pushing up the 'theme' flder from my files. I had it in the .gitignore file before.
Brody
Brody7mo ago
sounds good
Want results from more Discord servers?
Add your server