9 months ago
hey, on railway i host my discord bot for a fairly large server. i have it connected to a GitHub repo.
the bot contains several json files which hold info for server members.
currently, the only way i am able to access the changes to these files is by running a command i added which sends all the the file data that has been updated since the last gh commit
unforatnly, i forgot the change the code when i removed a json file and now the command dosnt execute.
is there any way to view these changed files without removing the data/making a new commit so i dont loose 10 days worth of data?
24 Replies
also in the future is there any way i can easily view the files of my project without having to do a whole process every time i want to look?
9 months ago
You should be using a database rather than json files to store data. That would make your life much, much easier
9 months ago
ssh would be your best bet
yea, i figured i should have switched to something like that a while ago
will DEFINITELY switch after this lol
9 months ago
Great glad to hear it, am I good to call this thread solved?
9 months ago
Only conductors can mark threads as solved
9 months ago
No rush though, do your thing
is the easy install command hardcoded to usr/local/bin? im on windows so theres not that file. ive tried making those folders and that diddnt help
9 months ago
You can use npm to install the cli https://docs.railway.com/guides/cli#npm-macos-linux-windows
alright i thankfully got it, can see why ssh was the most requested feature. you may close now. thank you!
9 months ago
glad to hear it!
9 months ago
!s
Status changed to Solved adam • 9 months ago
Status changed to Solved chandrika • 9 months ago