caxco93
caxco93
RRailway
Created by caxco93 on 7/17/2024 in #✋|help
Custom SSH App - Permission denied (publickey)
Hi 👋 I am creating an SSH app using https://github.com/charmbracelet/wish and https://github.com/charmbracelet/bubbletea. If I run my Dockerfile file locally I am able to ssh into the custom TUI app, but when Railway deploys my app, I am unable to SSH into the custom TUI app. I have created a custom domain with the port that the app exposes and when executing the ssh command I am getting a Permission denied (publickey). Please note that I am not trying to get a shell through SSH, I am just trying to access my TUI through SSH thanks to the Wish library. (the library itself states how they don't even create a shell) Any help regarding this would be appreciated 😄
17 replies
RRailway
Created by caxco93 on 11/2/2022 in #✋|help
Django Template won't create tables
Creating a new Project using the existing Django Template gives you a Procfile with the following contents:
web: python manage.py migrate && gunicorn mysite.wsgi
web: python manage.py migrate && gunicorn mysite.wsgi
However it also sets up the Start Command to
gunicorn mysite.wsgi
gunicorn mysite.wsgi
In the end, only the Start Command is being used, which results in the migrations never being ran. If we however delete the Start Command contents, we will end up with the expected result. The migrations will be ran and we will be able to see the tables on the PostgreSQL service web UI Possible solution: The Django project template creation shouldn't set up the Start Command as it overrides the template's existing Procfile contents
3 replies