Is there a way of editing/updating a file without having railway redeploy each time?
rifty600
FREEOP

9 months ago

Hi, im running a script that i need to update everyday and add new lines of code to. (i update on github)

Is there a way of editing my config.toml file without having railway build and redeploy every time? I want the script to be updated but i don't want it to act like it is running for the first time.

Solved

3 Replies

adam
MODERATOR

9 months ago

You could ssh into your project using the CLI and edit the files through there


mikexie360
PRO

9 months ago

maybe use redis cache for persistence of the data of the file.

when you want to update the file, dont do that, instead it updates redis

or use an s3 bucket to store the file, or the railway equivalent of a bucket.


adam
MODERATOR

9 months ago

!s


Status changed to Solved adam 9 months ago


Loading...