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.htmlSolution:Jump to 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.
5 Replies
Project ID:
0fbe3bbf-8e54-48fd-9f7a-33c4b9ce087d
Project ID: 0fbe3bbf-8e54-48fd-9f7a-33c4b9ce087d
whats your current start command and where is it set?
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.
sounds good